Procedures
Automation procedures in the PagerDuty book.
Make sure to add the PagerDuty book to your agent before using these automation procedures.
to create an (incident) in pagerduty
Create an incident in PagerDuty.
Input Concepts
Concept
Description
Type
Required
Default Value
Output Concepts
Concept
Description
Type
Examples
Create an incident in PagerDuty
create a json
use the above as the body
the body's title is "Application Failure"
the body's type is "incident"
get '{"id": "P0ED7MS", "type": "service_reference"}' as a json
use the above as the service
the body's service is the service
create an incident in pagerduty
the payload is the body
to get some (incidents) from pagerduty
Get incidents from PagerDuty using a Filter Expression.
Output Concepts
Concept
Description
Type
Examples
Get all incidents from PagerDuty
get some incidents from pagerduty
to manage an (incident) in pagerduty
Manage an incident in PagerDuty.
Manage (update) an incident in PagerDuty. The 'From' header with a valid user email may be required by PagerDuty for this operation, depending on what was the authentication method used.
Input Concepts
Concept
Description
Type
Required
Default Value
Output Concepts
Concept
Description
Type
Examples
Manage an incident in PagerDuty
get some incidents from pagerduty
get the first incident as the incident
create a json
use the above as the body
the body's status is "acknowledged"
manage the incident in pagerduty
the payload is the incident
the user email is "[email protected]"
Last updated
Was this helpful?