Sync epics new child issues
What does this MR do and why?
Related to #441255 (closed)
When adding a child issue to a legacy epic that has a synced work item, also create a parent link for the issue and the work item epic.
Screenshots or screen recordings
Screen_Recording_2024-02-26_at_12.45.30
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
-
In rails console enable the feature flag
Feature.enable(:epic_creation_with_synced_work_item)
-
Visit a project and create an issue
-
Visit the project's group and create an epic. Verify that a work item was created at the group level with the same attributes
-
Add the issue as a child in the legacy epic and verify that it's also added as a child of the synced work item
Edited by Eugenia Grieff