2024-02-14 09:06:21 -08:00
|
|
|
fragment incidentsFields on EntityIncidentsResult {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
incidents {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
incidentType
|
|
|
|
customType
|
|
|
|
title
|
|
|
|
description
|
2025-02-20 17:28:47 -08:00
|
|
|
startedAt
|
2024-02-14 09:06:21 -08:00
|
|
|
status {
|
|
|
|
state
|
2025-03-20 03:46:25 +05:30
|
|
|
stage
|
2024-02-14 09:06:21 -08:00
|
|
|
message
|
|
|
|
lastUpdated {
|
|
|
|
time
|
|
|
|
actor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
source {
|
|
|
|
type
|
2025-03-20 03:46:25 +05:30
|
|
|
source {
|
|
|
|
...assertionDetails
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
created {
|
|
|
|
time
|
|
|
|
actor
|
|
|
|
}
|
2024-05-24 14:03:05 -07:00
|
|
|
tags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
2025-03-20 03:46:25 +05:30
|
|
|
priority
|
|
|
|
assignees {
|
|
|
|
... on CorpUser {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
username
|
|
|
|
status
|
|
|
|
properties {
|
|
|
|
displayName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-04-03 11:37:10 -07:00
|
|
|
linkedAssets: relationships(
|
|
|
|
input: { types: ["IncidentOn"], direction: OUTGOING, start: 0, count: 1000, includeSoftDelete: false }
|
|
|
|
) {
|
2025-03-20 03:46:25 +05:30
|
|
|
relationships {
|
|
|
|
entity {
|
|
|
|
...entityPreview
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment datasetSiblingIncidents on Dataset {
|
|
|
|
siblings {
|
|
|
|
isPrimary
|
|
|
|
siblings {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
siblingsSearch(input: { query: "*", count: 5 }) {
|
|
|
|
count
|
|
|
|
total
|
|
|
|
searchResults {
|
|
|
|
entity {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
query getEntityIncidents($urn: String!, $start: Int!, $count: Int!, $state: IncidentState) {
|
|
|
|
entity(urn: $urn) {
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
...datasetSiblingIncidents
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on DataJob {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on DataFlow {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on Dashboard {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on Chart {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
}
|
2024-06-21 11:03:56 -07:00
|
|
|
}
|