Copy designs to new issue when issue is moved
What does this MR do?
Adds a new DesignManagement::CopyDesignCollectionService
which is called during an issue move. The service copies all designs, versions and notes to the new issue.
The design_management_copy_designs
feature flag must be enabled on both the original project and target project of the move (rollout issue: #247062 (closed)).
This MR is branched from !42291 (merged) and has it as an MR dependency.
- Downstream MRs !42432 (merged) !42548 (merged)
- Issue: #13426 (closed)
QA steps:
- Enable
design_management_copy_designs
feature:Feature.enable(:design_management_copy_designs)
- Add designs to an issue (add, update, delete to create many versions)
- Add comments to designs (resolve some threads)
- Move the issue
- Reload until the designs appear (!42548 (merged) will make this experience better)
-
🎉 (hopefully)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Luke Duncalfe