Refresh markdown cache of system notes
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
How to set up and validate locally
- Create a group
- Create a project in the group.
- Create an issue in the project
- Create a merge request and mention the issue in the MR description
- Create a 2nd merge request
- In the issue mention the 2nd Merge Request in a comment using the
!
shortcut - Import the group
- Check the related merge requests appear in the Mentioned Merge Requests list in the imported issue
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #386308 (closed)
Edited by Carla Drago