Set job priority (scheduling staff)
updateJobPrioritySet job priority to P0 (emergency), P1 (top), P2 (standard), or P3 (deferrable). Optionally arm SLA auto-escalation for P1 with a deadline.
Instructions
Set job priority (scheduling staff)
Sets the P0–P3 priority on a non-archived, non-completed job (Owner / Administrator / Booking Coordinator). Allowed values: "p0" (emergency, interrupt-driven) | "p1" (top — displaced only by p0; may carry an sla_deadline arming auto-escalation) | "p2" (standard) | "p3" (deferrable, first displacement victim). sla_deadline is only valid with p1 and must be in the future (business-local naive datetime); moving away from p1 disarms the SLA clock. Accepts UUID or short_code in :id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job request ID or short_code | |
| note | No | Optional justification (max 500 chars) — recorded on the activity trail and the priority_changed webhook. Recommended when de-escalating an SLA-escalated job (audit provenance). | |
| priority | Yes | New P0–P3 priority level. p0=emergency, p1=top, p2=standard, p3=deferrable. | |
| sla_deadline | No | SLA deadline (business-local naive datetime) — only with priority=p1; (re)arms the auto-escalation clock. Omitted on a p1 change keeps any stored deadline; changing away from p1 disarms SLA entirely. |