Query
query IncidentRelatedGroups($id: IncidentGroupId!) {
incidentRelatedGroups(id: $id) {
elements {
field
group {
comments {
__typename
}
commentsCount
firstSeenAt
id
incidents {
__typename
}
lastSeenAt
}
originField
relationship
}
originFields
originNodes {
assetId
fields
}
}
}Variables
{
"id": "value"
}Response
{
"data": {
"incidentRelatedGroups": {
"elements": [
{
"field": "string",
"group": {
"comments": [
{
"__typename": "IncidentGroupComment"
}
],
"commentsCount": 1,
"firstSeenAt": "value",
"id": "value",
"incidents": {
"__typename": "IncidentsResult"
},
"lastSeenAt": "value"
},
"originField": "string",
"relationship": "FIELD_LINEAGE_DOWNSTREAM"
}
],
"originFields": [
"string"
],
"originNodes": [
{
"assetId": "value",
"fields": [
"string"
]
}
]
}
}
}Queries
incidentRelatedGroups
Get related groups from an incident. As an example of a related group that would be an incident group that comes from another source that is connected to the current one and are related in the lineage graph. Requires INCIDENTS_READ permissions.
QUERY
incidentRelatedGroups(id: IncidentGroupId!, timeRange: TimeRangeInput): IncidentRelatedGroupsResult!Arguments
id
IncidentGroupId!
required
timeRange
Returns
elements
originFields
[String!]
Source fields from which upstream/downstream field level lineage incident groups originate. Replaces origin field with support for more than one source field on a validator.
originNodes
Assets with fields from which upstream/downstream field level lineage incident groups originate. Replaces origin fields with support for more than one asset.
Query
query IncidentRelatedGroups($id: IncidentGroupId!) {
incidentRelatedGroups(id: $id) {
elements {
field
group {
comments {
__typename
}
commentsCount
firstSeenAt
id
incidents {
__typename
}
lastSeenAt
}
originField
relationship
}
originFields
originNodes {
assetId
fields
}
}
}Variables
{
"id": "value"
}Response
{
"data": {
"incidentRelatedGroups": {
"elements": [
{
"field": "string",
"group": {
"comments": [
{
"__typename": "IncidentGroupComment"
}
],
"commentsCount": 1,
"firstSeenAt": "value",
"id": "value",
"incidents": {
"__typename": "IncidentsResult"
},
"lastSeenAt": "value"
},
"originField": "string",
"relationship": "FIELD_LINEAGE_DOWNSTREAM"
}
],
"originFields": [
"string"
],
"originNodes": [
{
"assetId": "value",
"fields": [
"string"
]
}
]
}
}
}