Hyperlinks to closed Issues are missing in MRs' descriptions after import
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
After importing a project, hyperlinks to closed issues in the MRs description are missing.
Steps to reproduce
- Create a project with MRs and Issus.
- Mention different issues in the MR description.
- Export the project.
- Import the project.
- Some MRs will have the description mentioning the issue, but the hyperlinks to the issue are missing.
Example Project
Exported project: https://gitlab.com/rhassanein/hyperlinksinmrs
Imported project: https://gitlab.com/rhassanein/importinghyperlinksinmrs
What is the current bug behavior?
Hyperlinks to closed issues in the description of an MR and Issues are missing.
What is the expected correct behavior?
Hyperlinks to closed issues in the description of an MR and Issues are retained through the export/import process.
Relevant logs and/or screenshots
Output of checks
This bug happens in gitlab.com
Possible fixes
A workaround can be running the following in gitlab-rails c
MergeRequest.find_each do |m|
m.refresh_markdown_cache!
end
Edited by 🤖 GitLab Bot 🤖