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
incident_detailsobjectDetails of the incident.
relationship_detailsarrayA list of reasons for why the Incident is considered related.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_related_incidentsselectidAccept, Content-Type, additional_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.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read
_get_related_incidentsexecidAccept, Content-Type, additional_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.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

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.
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring
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.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

SELECT
incident_details,
relationship_details
FROM pagerduty.incidents.related_incidents
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
AND additional_details[] = '{{ additional_details[] }}'
;

Lifecycle Methods

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.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

EXEC pagerduty.incidents.related_incidents._get_related_incidents 
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}',
@additional_details[]='{{ additional_details[] }}'
;