For prerequisites, see PagerDuty incident actions.
Resolve a PagerDuty incident
The action identifier is pagerduty.incident.resolve.
Resolves a PagerDuty incident by updating its status to resolved, with an optional resolution note.
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 resolve. |
|
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. |
|
resolution | String | Optional. Resolution note added to the incident. |
|
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 resolved incident object with |
errorMessage | String | Error message on failure. |
The following example resolves a PagerDuty incident with a resolution note.
Workflow example |
|---|
|