debian-mirror-gitlab/app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutatio...

26 lines
518 B
GraphQL

#import "~/graphql_shared/fragments/alert_note.fragment.graphql"
mutation alertSetAssignees($projectPath: ID!, $assigneeUsernames: [String!]!, $iid: String!) {
alertSetAssignees(
input: { iid: $iid, assigneeUsernames: $assigneeUsernames, projectPath: $projectPath }
) {
errors
alert {
iid
assignees {
nodes {
username
name
avatarUrl
webUrl
}
}
notes {
nodes {
...AlertNote
}
}
}
}
}