• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

Resolve a PagerDuty incident

|View as Markdown (English)

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.

${{ :secrets:pagerdutyApiToken }}

incidentId

String

Required. The ID of the incident to resolve.

"1234567"

type

String

Required. Must be "incident".

"incident"

from

String

Optional. Required for account tokens, optional for user tokens. The email address of the user making the request.

test@example.com

resolution

String

Optional. Resolution note added to the incident.

"System is up and running and incident is resolved"

selectors

List

Optional. JQ selectors to extract fields from the output.

[{"name": "incidentId", "expression": ".responseBody | fromjson.incident.id"}]

The following table describes all output fields returned by this action.

Output

Type

Description

success

Boolean

true on success, false on failure.

response

Object

The resolved incident object with status: "resolved".

errorMessage

String

Error message on failure. null on success.

The following example resolves a PagerDuty incident with a resolution note.

Workflow example

name: resolve-pagerduty-incident
description: Resolve a PagerDuty incident
steps:
- name: pagerduty_incident_resolve_1
type: action
action: pagerduty.incident.resolve
version: 1
inputs:
token: ${{ :secrets:pagerdutyApiToken }}
from: abc@example.com
type: incident
incidentId: Q1234567890
resolution: The incident is resolved and no action is needed
next: end
Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.