Skip to content

Change parent link reference when issue moves

Nicolas Dular requested to merge nd/change-parent-link-when-issue-moves into master

What does this MR do and why?

We did not change the reference of a parent link when we moved an issue and with it also changed the epic_issues reference.

This MR fixes the problem by also changing the associated ParentLink reference using the new issue.

Issue: #465459 (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

  1. Create Parent Epic
  2. Add an issue to Parent Epic like Issue 1 in Project A
  3. Move the Issue 1 to Project B
  4. Go to the Parent Epic and remove the relationship with Issue 1
Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Nicolas Dular

Merge request reports