Related merge request do not appear on issues if a project is imported
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=385463) </details> <!--IssueSummary end--> <!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "type::bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=type::bug and verify the issue you're about to submit isn't a duplicate. ---> ## Problem MR and issue URL references aren't supported in file-based export-import. When exporting a project that contains issues with "related Merge Request" labels these are not shown on the imported issue. The association exists but the relationship does not appear on the issue from the UI. #### To observe current behaviour 1. Create a project. 1. Create a new branch in the project. 1. Create a new issue in the same project. 1. Create a new MR and in the description of this MR write `"Closes #1"` 1. Export the project 1. Import the project to a new namespace/instance ![Screenshot_2022-12-12_at_16.00.42](/uploads/994e7d12357761aed1a15cd172b4dee1/Screenshot_2022-12-12_at_16.00.42.png) ![Screenshot_2022-12-12_at_16.00.12](/uploads/5644784fcf3a8f1b6832d629f95b030a/Screenshot_2022-12-12_at_16.00.12.png) An example project can be found [here](https://gitlab.com/gitlab-gold/mmora-gold-subgroup/mr-related-import/-/merge_requests/1) ## Proposed solution Issues that had related MRs should show these relations the project had been importer by file export. Desired behavior ![Screenshot_2022-12-12_at_15.59.30](/uploads/28521f13239045e6e7949145d703eac8/Screenshot_2022-12-12_at_15.59.30.png) ![Screenshot_2022-12-12_at_15.58.40](/uploads/7d6591285e9e15ca970ecb31b5042d10/Screenshot_2022-12-12_at_15.58.40.png)
issue