Skip to content

Destroy synced linked work items even when the FF is disabled

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

  1. Enable the feature flag Feature.enable(:epic_creation_with_synced_work_item)
  2. Visit a group and create 2 epics (Source Epic and Target Epic). Verify that the corresponding work items were also created
  3. Visit Source Epic and add Target Epic as a related. Verify that the related epic 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 related epic and verify that it's also removed on the work item side

Screen_Recording_2024-03-28_at_12.58.33

Edited by Eugenia Grieff

Merge request reports