summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
blob: 0f9075c58bf7fe3d13fa7be285d5f756e0f29d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
query getAlertsCount($searchTerm: String, $projectPath: ID!, $assigneeUsername: String = "") {
  project(fullPath: $projectPath) {
    id
    alertManagementAlertStatusCounts(search: $searchTerm, assigneeUsername: $assigneeUsername) {
      all
      open
      acknowledged
      resolved
      triggered
    }
  }
}