Skip to content

Work Item Bulk edit mutation frontend Pt 2

Jack Chapman requested to merge jc/fe-for-wi-bulk-gql-mutation into master

What does this MR do and why?

Updates the Work Item bulk update/edit functionality to make use of the GraphQL mutation added in !161507 (merged) and !162899 (merged)

Also removes the bulk edit toggle from the UI if the feature flag controlling the mutation is disabled via the bulk_update_work_items_mutation flag.

I don't think this change will cause multi-version compatibility issues, but please let me know if it will.

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

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable work item epics and the work item epics list using these feature flags: work_item_epics_rollout, work_item_epics, namespace_level_work_items, work_item_epics_list.
  2. Visit the epics list for a group.
  3. Check you can see the 'bulk edit' button in the top right, and that clicking it allows you to select some epics and change their labels.
  4. When you submit the changes, they should be applied using the new workItemBulkUpdate mutation.
  5. If you disable the bulk_update_work_items_mutation feature flag, the option to bulk edit should be removed.

Relates to #434296 (closed)

Edited by Jack Chapman

Merge request reports

Loading