Skip to content

ITSM

IT Service Management: incidents (tickets), change requests, problem records — core MSP workflows in Cloud SPA.

In scopeOut of scope
Incident lifecycle, assignments, SLA markersExternal ITSM bi-directional sync (integrations)
Change/problem modulesEmail ingestion as primary channel
AreaBackend path
IncidentsBackend/internal/domain/incidents/
ChangesBackend/internal/domain/changes/
ProblemsBackend/internal/domain/problem/
SLA jobsBackend/internal/jobs/sla_escalation.go, weekly_digest.go
NotificationsBackend/internal/services/notification_dispatch.go

Migrations: V48__incident_sla_escalation_markers.sql, V49__weekly_digest_log.sql.

sequenceDiagram
    participant Job as sla_escalation job
    participant DB as Azure SQL
    participant Notify as notification_dispatch
    participant User as Assignee

    Job->>DB: Find incidents nearing SLA breach
    Job->>DB: Mark escalation sent
    Job->>Notify: incident SLA warning type
    Notify->>User: In-app / email notification

Background job weekly_digest.go emails tenant admins a summary — logged in weekly_digest_log to prevent duplicates.

IssueCheck
SLA warning not sentsla_escalation job running (internal/app/background.go); incident SLA fields
Duplicate digestsweekly_digest_log table
Permission deniedRBAC on incidents routes