Destroy synced work item children even when FF is disabled
requested to merge 452150-destroy-work_item_parent_links-records-for-a-synced-epic-work-item-regardless-of-the-ff into master
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
- Enable the feature flag
Feature.enable(:epic_creation_with_synced_work_item)
- Visit a group and create 2 epics (
Parent
andChild
). Verify that the corresponding work items were also created - Visit the
Parent
and add the existing epicChild
as a child. Verify that the child is also visible when visiting the synced work item - Disable the feature flag
Feature.enable(:epic_creation_with_synced_work_item)
- Remove the child epic and verify that it's also removed from on work item side
- Repeat the same steps but using an issue and verify that it's also removed on the work item side
Edited by Eugenia Grieff