Polityki eskalacji
Endpoints
| Metoda |
Ścieżka |
Opis |
| GET |
/automation/escalation/policies.json |
Lista polityk |
| GET |
/automation/escalation/policies/:id.json |
Szczegóły polityki |
| POST |
/automation/escalation/policies.json |
Utworzenie polityki |
| PATCH |
/automation/escalation/policies/:id.json |
Aktualizacja |
| DELETE |
/automation/escalation/policies/:id.json |
Usunięcie |
Pola polityki
| Pole |
Typ |
Opis |
name |
string |
Nazwa polityki |
kind |
string |
Typ: escalation
|
active |
boolean |
Czy aktywna |
skip_on_holiday |
boolean |
Pomijaj osoby na urlopie |
Pola kroku (step)
| Pole |
Typ |
Opis |
position |
integer |
Kolejność kroku (od 0) |
delay_minutes |
integer |
Opóźnienie w minutach |
notify_type |
string |
user, group lub responsible
|
notify_id |
integer |
ID użytkownika lub grupy (gdy notify_type = user/group) |
channel |
string |
notification lub email
|
Pola incydentu
| Pole |
Typ |
Opis |
status |
string |
active, acknowledged, resolved
|
subject_type |
string |
Helpdesk::Ticket |
subject_id |
integer |
ID ticketu |
current_step_position |
integer |
Aktualny krok eskalacji |
started_at |
datetime |
Początek eskalacji |
acknowledged_at |
datetime |
Kiedy potwierdzona |
resolved_at |
datetime |
Kiedy zamknięta |
Acknowledge endpoint
GET /automation/escalation/acknowledge/:token
PATCH /automation/escalation/acknowledge/:token
Token jest unikalny dla każdego incydentu. GET wyświetla stronę potwierdzenia, PATCH potwierdza eskalację.