Skip to content

Refresh markdown cache of system notes

Carla Drago requested to merge 386308-retain-mr-associations into master

What does this MR do and why?

This change addresses an issue where the note_html attribute of a system Note needs refreshing after an import in order that it points to the destination target rather than the source target. With this change the note now appears in the Related MRs list.

Screenshots or screen recordings

userflow showing fix take 2

How to set up and validate locally

  1. Create a group
  2. Create a project in the group.
  3. Create an issue in the project
  4. Create a merge request and mention the issue in the MR description
  5. Create a 2nd merge request
  6. In the issue mention the 2nd Merge Request in a comment using the ! shortcut
  7. Import the group
  8. Check the related merge requests appear in the Mentioned Merge Requests list in the imported issue
  9. Check the issue comment that mentions the 2nd merge request has the ![id] as a link to the MR

MR acceptance checklist

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

Related to #386308 (closed)

Edited by Carla Drago

Merge request reports

Loading