Skip to content

Copy designs to new issue when issue is moved

Luke Duncalfe requested to merge 13426-copy-designs into master

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.

QA steps:

  1. Enable design_management_copy_designs feature: Feature.enable(:design_management_copy_designs)
  2. Add designs to an issue (add, update, delete to create many versions)
  3. Add comments to designs (resolve some threads)
  4. Move the issue
  5. Reload until the designs appear (!42548 (merged) will make this experience better)
  6. 🎉 (hopefully)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Luke Duncalfe

Merge request reports

Loading