Skip to content

Instantly share code, notes, and snippets.

@shairyar
Last active May 8, 2025 10:46
Show Gist options
  • Save shairyar/30ef92f9e500a6b1171da2f03250ec0e to your computer and use it in GitHub Desktop.
Save shairyar/30ef92f9e500a6b1171da2f03250ec0e to your computer and use it in GitHub Desktop.
GraphQL Query to close an incident
mutation updateIncidentMutation($appId: String!, $number: Int!, $state: IncidentStateEnum, $description: String) {
updateIncident(
appId: $appId
number: $number
state: $state
description: $description
) {
... on ExceptionIncident {
id
state
description
severity
assignees {
id
}
}
}
}
@shairyar
Copy link
Author

shairyar commented Apr 3, 2025

{
  "appId": "AppSignal APP ID", //copy this from the URL in AppSignal
  "number": [INCIDENT NUMBER],
  "state": "CLOSED"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment