List Related Change Events for an Incident

📘

Availability

This workflow action is available on our Enterprise plan for Incident Management. Please contact our Sales Team to upgrade to an account with this action.

Description

Lists related Change Events for an incident, as well as the reason these changes are correlated with the incident.

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

📘

Field References

Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Please see our Field References article for more information.


NameDescription
Incident IDThe ID of the Incident whose related Change Events will be returned. Defaults to {{incident.id}}.

Outputs

NameDescription
Number of Change EventsThe total number of Change Events related to the incident
Change EventsThe JSON-formatted list of Change Events. Note: This JSON will exactly match the value of the change_events property returned from the endpoint linked below.
Timestamp of Last Change EventThe timestamp of the most recent Change Event
Summary of Last Change EventA brief summary of the most recent Change Event
Source of Last Change EventThe source of the most recent Change Event
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description that populates if the action failed.

PagerDuty API Endpoint

Endpoint used: