Add aditional arguments to IssuesBulkUpdate mutation
What does this MR do and why?
Adds iteration_id
and milestone_id
to the new IssuesBulkUpdate
mutation. MR 2 for #327247 (closed) since I'm splitting the changes required to keep the MRs smaller
How to set up and validate locally
- Enable the feature flag in the rails console
Feature.enable(:bulk_update_issues_mutation)
- In GraphiQL execute a mutation like the following. Make sure the IDs belong to the same project and group for it to work
mutation {
issuesBulkUpdate(
input: {
ids: ["gid://gitlab/WorkItem/46", "gid://gitlab/WorkItem/47"],
parentId: "gid://gitlab/Project/6",
milestoneId: "gid://gitlab/Milestone/51",
iterationId: "gid://gitlab/Iteration/131"
}
) {
errors
updatedIssueCount
}
}
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 #327247 (closed)
Edited by Mario Celi