diff options
Diffstat (limited to 'app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql b/app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql new file mode 100644 index 00000000000..40b4b6ae854 --- /dev/null +++ b/app/assets/javascripts/alert_management/graphql/mutations/alert_set_assignees.mutation.graphql @@ -0,0 +1,22 @@ +#import "../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 + } + } + notes { + nodes { + ...AlertNote + } + } + } + } +} |