Skip to content

Copy iteration system notes on moving issue

euko requested to merge 360319-copy-resource-iteration-event into master

What does this MR do and why?

Related to #360319 (closed)

When an issue is moved from one project to another, iteration system notes (backed by the model ResourceIterationEvent) did not get copied over.

This MR contains a fix for the bug.

How to set up and validate locally

  1. Pick a group that has at least two projects.

  2. Create a new iteration cadence for the group.

How to create a cadence and add an iteration

Screen_Recording_2023-12-08_at_17.27.43

  1. Create a new issue and assign the iteration you just created. Then move the issue to another project using the quick action command /move.
/move <project fullpath>

Observe that the system note about the iteration assignment is copied to the new issue.

Demo

Screen_Recording_2023-12-08_at_17.30.28

  1. If you repeat the previous step on master branch, you will notice that the system note does not get copied over when an issue is moved.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by euko

Merge request reports