Jira integration breaks system notes when referencing issues from other projects
Summary
Enabling Jira external issue tracker breaks system notes when referencing issues from other GitLab projects.
Steps to reproduce
- Create
project-a
in your personal namespace - Create issue 1 in
project-a
- Create
project-b
in your personal namespace - Enable JIRA service in
project-b
- Create a merge request 2 in
project-b
- Paste
https://gitlab.com/your-user-name/project-a/issues/1
as a comment - Check system notes in issue 1 in
project-a
What is the current bug behavior?
There is no system note saying that the issue was referenced in the merge request.
Remarks
- You have to paste the URL, referencing the issue as
your-user-name/project-a#1
is already broken and the bug is tracked here - This is not broken for Redmine integration (and possibly other external issue trackers, although I didn't check).