What does this MR do?
This MR fixes the redirection to the wrong URL when using an external issue tracker, such as JIRA or Redmine. a70431f8 modified the behavior to link to the external issue tracker issues URL instead of the project path URL. This restores the previous behavior.
Are there points in the code the reviewer needs to double check?
Is the project URL really the intended target?
Why was this MR needed?
The issues URL often has
:id associated with it for linking mentioned issues. For external issue trackers, the project page is the intended taret.