Sync basic work item attributes to epic
What does this MR do and why?
Sync basic work item attributes to epic
To fully sync the legacy epic and the epic work item, we now sync the basic attributes from epic to work item.
The widgets accumulate the parameters necessary for the sync and then we update the epic in the transaction to have an atomic mutation.
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_17.40.56
Before | After |
---|---|
How to set up and validate locally
- Enable
sync_work_item_to_epic
- Enable
sync_epic_to_work_item
-
Disable
make_synced_work_item_read_only
-
Disable
namespace_level_work_items
if enabled to create epics instead of work items - Create an epic
- Go to the correlating work item (change
/epics/
to/work_items/
in the URL) - Change the title, description, confidentially, color
- Go to the epic and see that it got changed as well
Feature.enable(:sync_work_item_to_epic)
Feature.enable(:sync_epic_to_work_item)
Feature.disable(:make_synced_work_item_read_only)
Feature.disable(:namespace_level_work_items)
Edited by Nicolas Dular