Destroy synced linked work items even when the FF is disabled
requested to merge 452151-destroy-issue_links-records-for-a-synced-epic-work-item-regardless-of-the-ff into master
What does this MR do and why?
Related to #452151 (closed)
When removing a related epic that has a synced work item also destroys the RelatedWorkItemLinks
record, regardless of the feature flag epic_creation_with_synced_work_item
status.
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 (
Source Epic
andTarget Epic
). Verify that the corresponding work items were also created - Visit
Source Epic
and addTarget Epic
as a related. Verify that the related epic is also visible when visiting the synced work item - Disable the feature flag
Feature.enable(:epic_creation_with_synced_work_item)
- Remove the related epic and verify that it's also removed on the work item side
Edited by Eugenia Grieff