Manage incidents
Incidents allow you to report and track equipment issues.
Priorities
Section titled “Priorities”| Priority | Description |
|---|---|
LOW | Low impact, can wait |
MEDIUM | Moderate impact, handle quickly |
HIGH | Significant impact, urgent |
CRITICAL | Blocking, immediate intervention |
Statuses
Section titled “Statuses”| Status | Description |
|---|---|
OPEN | Reported, not being handled |
IN_PROGRESS | Being resolved |
RESOLVED | Resolved |
CLOSED | Closed after validation |
Report an incident
Section titled “Report an incident”-
Access the Incidents module
From the sidebar, click Incidents.
-
Click “New incident”
-
Fill in the form
Field Required Description Equipment ✅ Affected equipment Title ✅ Short description Priority ✅ Low, Medium, High, Critical Description ✅ Problem details -
Save
The incident is created with
OPENstatus.
Lifecycle
Section titled “Lifecycle”OPEN → IN_PROGRESS → RESOLVED → CLOSED ↓ ↓ OPEN ←────────┘API - Report an incident
Section titled “API - Report an incident”Endpoint
Section titled “Endpoint”POST /api/v1/incidentsPayload
Section titled “Payload”{ "material_id": 1, "title": "Abnormal noise on compressor", "priority": "HIGH", "description": "The compressor has been making a clacking noise since this morning. Degraded operation."}Response
Section titled “Response”{ "data": { "id": 1, "material": { "id": 1, "name": "Compressor A1" }, "title": "Abnormal noise on compressor", "priority": "HIGH", "status": "OPEN", "description": "The compressor has been making...", "reported_by": { "id": 5, "full_name": "John Doe" }, "created_at": "2024-01-15T08:30:00Z" }}Update incident status
Section titled “Update incident status”Start handling
Section titled “Start handling”PATCH /api/v1/incidents/{id}{ "status": "IN_PROGRESS", "assigned_to": 3}Resolve
Section titled “Resolve”{ "status": "RESOLVED", "resolution": "Replaced worn bearing. Noise eliminated."}{ "status": "CLOSED"}Link to a maintenance
Section titled “Link to a maintenance”An incident can trigger a maintenance:
POST /api/v1/maintenances{ "material_id": 1, "type": "CORRECTIVE", "incident_id": 1, "scheduled_at": "2024-01-15T14:00:00Z", "description": "Repair following incident #1"}Required permissions
Section titled “Required permissions”| Action | Permission |
|---|---|
| View list | incident.viewAny |
| View an incident | incident.view |
| Create | incident.create |
| Modify | incident.update |
| Delete | incident.delete |
Filters
Section titled “Filters”GET /api/v1/incidents?status=OPEN&priority=HIGH&material_id=1