For prerequisites, see PagerDuty incident actions.
Update a PagerDuty incident
The action identifier is pagerduty.incident.update.
Updates an existing PagerDuty incident's properties such as status, priority, title, assignments, and other attributes.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
token | String | Required. PagerDuty API token. |
|
incidentId | String | Required. The ID of the incident to update. |
|
type | String | Required. Must be |
|
from | String | Optional. Required for account tokens, optional for user tokens. The email address of the user making the request. |
|
status | String | Optional. New incident status: |
|
title | String | Optional. New incident title. |
|
priority | Map | Optional. Priority reference. |
|
urgency | String | Optional. Incident urgency: |
|
assignments | List | Optional. List of assignee objects. |
|
escalationLevel | Integer | Optional. Escalation level. |
|
incidentType | Map | Optional. Incident type name. |
|
escalationPolicy | Map | Optional. Escalation policy reference. |
|
service | Map | Optional. Service reference. |
|
conferenceBridge | Map | Optional. Conference bridge details. |
|
resolution | String | Optional. Resolution note. |
|
selectors | List | Optional. JQ selectors to extract fields from the output. |
|
The following table describes all output fields returned by this action.
Output | Type | Description |
|---|---|---|
success | Boolean |
|
response | Object | The updated incident object. |
errorMessage | String | Error message on failure. |
The following example updates a PagerDuty incident's status and title.
Workflow example |
|---|
|