Update mutation for work item labels
What does this MR do and why?
Shameless copy of !92417 (merged), but for labels
Add a GraphQL mutation to update a work item's labels
How to set up and validate locally
Sample query:
mutation WorkItemUpdate {
workItemUpdate(input: {id: "gid://gitlab/WorkItem/503", labelsWidget: {labelIds: ["gid://gitlab/Label/1"]}}) {
workItem {
id
__typename
}
}
}
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 #339756 (closed)