summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/sidebar/queries/get_alert_assignees.query.graphql
blob: bb6c7181e5cac873bc4db9fced42898d3496100c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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) {
      iid
      assignees {
        nodes {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}