Add GraphQL mutation for subscribing to a work item
What does this MR do and why?
Add a mutation workItemSubscribe
to allow users to subscribe to the
work item notifications
Example mutation
mutation {
workItemSubscribe(input: {id: "gid://gitlab/WorkItem/1", subscribed: true}) {
workItem {
widgets {
... on WorkItemWidgetNotifications {
subscribed
}
}
}
errors
}
}
Note: This mutation has been marked as alpha because work items are still under development.
Screenshots or screen recordings
Subscribe | Unsubscribe |
---|---|
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #412831 (closed)
Edited by Eugenia Grieff