Broken link from Issue to Job
Summary
On gitlab.com if I click "New Issue" from a failed job, the link back to the job is incorrect.
I think this is because the URL of the project's master branch is being inserted into the generate URL.
Steps to reproduce
On a failed job, click "New Issue", then save the resulting issue. The link back to the issue is wrong (in my project).
What is the current bug behavior?
URL for a job is of the form
https://gitlab.com/examplegroup/exampleproject/-/jobs/74441431
The "New Issue" template is creating a URL like this:
Job [#74441431](/examplegroup/exampleproject/-/jobs/74441431) failed for commithash
But this is rendered as the URL
https://gitlab.com/examplegroup/exampleproject/master/examplegroup/exampleproject/-/jobs/74441431
(spurious extra "master/examplegroup/exampleproject") instead of the correct form:
https://gitlab.com/examplegroup/exampleproject/-/jobs/74441431
What is the expected correct behavior?
[#74441431](/examplegroup/exampleproject/-/jobs/74441431)
in ticket should produce a link to https://gitlab.com/examplegroup/exampleproject/-/jobs/74441431
Output of checks
This bug happens on GitLab.com