IssueClosedEvent
EventType: ISSUE_CLOSEDDomain: collaboration Broker subject: progress.notification.issue
Closes an open issue by setting open: false and recording the close timestamp and user. Updates the critical flag on linked work orders and jobs after the issue is no longer active.
Trigger
Triggered by: POST /event (universal event dispatcher)
Dispatched via POST /event in backend/api/endpoints/traceability.py with event_type: ISSUE_CLOSED.
Preconditions
- Issue exists and is in
openstate
State Changes (Transaction)
Collections: Event, Issue, issue_rel, WorkOrder, Job, message
Issueupdated:open → false,closed,closed_byWorkOrderandJobcriticalflags recalculated
Side Effects (post_processing)
Publishes to progress.notification.issue after commit.
InfoModel Fields
None. (Issue key is resolved from the event's subject context.)
Related Events
None.