debian-mirror-gitlab/app/assets/javascripts/sidebar/queries/update_mr_assignees.mutation.graphql
2023-03-04 22:38:38 +05:30

21 lines
594 B
GraphQL

#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
}
}
}
}
}
}