Skip to content

Destroy synced work item children even when FF is disabled

What does this MR do and why?

Related to #452150 (closed)

When deleting epic children that have a synced work item, these should also be deleted, regardless of the status of the feature flag epic_creation_with_synced_work_item

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

  1. Enable the feature flag Feature.enable(:epic_creation_with_synced_work_item)
  2. Visit a group and create 2 epics (Parent and Child). Verify that the corresponding work items were also created
  3. Visit the Parent and add the existing epic Child as a child. Verify that the child is also visible when visiting the synced work item
  4. Disable the feature flag Feature.enable(:epic_creation_with_synced_work_item)
  5. Remove the child epic and verify that it's also removed from on work item side
  6. Repeat the same steps but using an issue and verify that it's also removed on the work item side

delete_synced_children

Edited by Eugenia Grieff

Merge request reports