getIncidentRemediationPage
Returns the requested pages of the Remediation tab sections of one incident: pull requests, tickets and available fixes, each with its own total and cursor, filtered, searched and sorted on the server. The whole request is refused when a requested section has more than 20,000 matching rows; the available-fix limit counts matching evidence rows. getIncidentRemediation returns the unpaged lists.
Examples
query GetIncidentRemediationPage($incidentId: String!, $input: GetIncidentRemediationPageInput) {
getIncidentRemediationPage(incidentId: $incidentId, input: $input) {
groups {
section
totalCount
items {
id
incidentId
itemType
externalId
title
provider
project
author
assignee
team
appId
appName
appTags
businessUnits {
id
name
}
ticketStatus
upgradeType
ciStatus
reviewStatus
state
resourceName
issueId
linkedIndicatorValues
url
isDeployed
eventAt
}
availableFixes {
issueId
title
severity
category
resourceName
appName
fixType
upgradeType
appTags
businessUnits {
id
name
}
hitIndicatorValues
}
nextCursor
hasMore
}
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
Arguments
You can use the following argument(s) to customize your getIncidentRemediationPage query.
incidentId String! required
The input selects the section, filters, search, sort and page. When omitted, the first ten rows of every section are returned in their default order.
section RemediationSection
itemLimit Int
cursor String
search String
conditionalFilters [IncidentConditionalFilterInput!]
sortBy RemediationSortField
sortOrder SortOrder
Fields
Return type: IncidentRemediationPage!
You can use the following field(s) to specify what information your getIncidentRemediationPage query will return. Please note that some fields may have their own subfields.
groups [IncidentRemediationGroup!]!
The returned sections with their own totals and cursors, in the fixed order PullRequest, Ticket, AvailableFix.
section RemediationSection!
totalCount Int!
items [IncidentRemediationItem!]!
availableFixes [RemediationAvailableFix!]!
nextCursor String
hasMore Boolean!
Last updated