Skip to content

Add workItemBulkUpdate mutation to GraphQL API

Mario Celi requested to merge 434296-wi-bulk-update-mutation into master

What does this MR do and why?

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

You can try this mutation locally in GraphiQL at http://localhost:3000/-/graphql-explorer

mutation {
  workItemBulkUpdate(
    input: {
      ids: ["gid://gitlab/WorkItem/825", "gid://gitlab/WorkItem/916"],
      parentId: "gid://gitlab/Project/7",
      labelsWidget: { addLabelIds: ["gid://gitlab/GroupLabel/52", "gid://gitlab/ProjectLabel/102"] }
    }
  ) {
    updatedWorkItemCount
    errors
  }
}

Related to #434296 (closed)

Closes #434296 (closed)

Edited by Mario Celi

Merge request reports

Loading