Skip to main content

related_incidents

Creates, updates, deletes, gets or lists a related_incidents resource.

Overview

Namerelated_incidents
TypeResource
Idpagerduty.incidents.related_incidents

Fields

The following fields are returned by SELECT queries:

A list of Related Incidents and their relationships.

NameDatatypeDescription
incidentobject
relationshipsarrayA list of reasons for why the Incident is considered related.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidadditional_details[]Returns the 20 most recent Related Incidents that are impacting other Responders and Services. Note: This feature is currently available as part of the Event Intelligence package or Digital Operations plan only.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#related_incidents)<br /><br />Scoped OAuth requires: incidents.read<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the resource.
additional_details[]stringArray of additional attributes to any of the returned incidents for related incidents.

SELECT examples

Returns the 20 most recent Related Incidents that are impacting other Responders and Services. Note: This feature is currently available as part of the Event Intelligence package or Digital Operations plan only.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#related_incidents)<br /><br />Scoped OAuth requires: incidents.read<br />

SELECT
incident,
relationships
FROM pagerduty.incidents.related_incidents
WHERE id = '{{ id }}' -- required
AND additional_details[] = '{{ additional_details[] }}'
;