Skip to content

Sync deletion of related work item links with epics

Felipe Artur requested to merge issue_450301_sync_destruction into master

What does this MR do and why?

Delete Epic::RelatedEpicLink whenever an associated WorkItems::RelatedWorkItemLink is deleted.

related to #450301 (closed)

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. Create two related work items with synced epics following these steps
  2. Continue by visiting epic a as a work item at http://gdk.test:3000/groups/GROUP_PATH/-/work_items/EPIC_A_IID
  3. Delete the related epic link in the UI
  4. Visit epic a as an epic http://gdk.test:3000/groups/GROUP_PATH/-/epics/EPIC_A_IID

The related epic link should be deleted.

Edited by Felipe Artur

Merge request reports