summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sidebar/queries/get_alert_assignees.query.graphql
blob: 171eca50eabecaad1b2e8f279c2c813a44335fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query alertAssignees(
  $domain: AlertManagementDomainFilter = threat_monitoring
  $fullPath: ID!
  $iid: String!
) {
  workspace: project(fullPath: $fullPath) {
    id
    issuable: alertManagementAlert(domain: $domain, iid: $iid) {
      id
      iid
      assignees {
        nodes {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}