Skip to content

Sync closing and reopening work item to legacy epic

Nicolas Dular requested to merge nd/sync-reopening-work-item-to-epic into master

What does this MR do and why?

Sync closing and reopening work item to legacy epic

This syncs changing the state from opened to closed for epic work items to the legacy epic when the feature flag is enabled.

It also fixes an issue with group level issues/work items as the reopen_issue policy didn't work.

Related: #450423 (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.

Screenshots or screen recordings

Screen_Recording_2024-04-16_at_19.24.25

Before After

How to set up and validate locally

  1. Enable sync_work_item_to_epic
  2. Enable sync_epic_to_work_item
  3. Disable make_synced_work_item_read_only
  4. Create an epic
  5. Go to the correlating work item (change /epics/ to /work_items/ in the URL)
  6. Close the epic work item
  7. Go to the epic and see that it got closed as well
Edited by Nicolas Dular

Merge request reports