summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/sidebar/queries/update_issue_assignees.mutation.graphql
blob: 2eb9bb4b07b240fabab79d0b9a298990105a29d1 (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"

mutation issueSetAssignees($iid: String!, $assigneeUsernames: [String!]!, $fullPath: ID!) {
  issueSetAssignees(
    input: { iid: $iid, assigneeUsernames: $assigneeUsernames, projectPath: $fullPath }
  ) {
    issue {
      id
      assignees {
        nodes {
          ...User
        }
      }
      participants {
        nodes {
          ...User
        }
      }
    }
  }
}