Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_mr_assignees.mutation.graphql « queries « sidebar « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5fec2ccbdfb3a3f13068bc40c74073dbb12042df (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"

mutation mergeRequestSetAssignees($iid: String!, $assigneeUsernames: [String!]!, $fullPath: ID!) {
  issuableSetAssignees: mergeRequestSetAssignees(
    input: { iid: $iid, assigneeUsernames: $assigneeUsernames, projectPath: $fullPath }
  ) {
    issuable: mergeRequest {
      id
      assignees {
        nodes {
          ...User
          ...UserAvailability
          mergeRequestInteraction {
            canMerge
          }
        }
      }
    }
  }
}