Show related issue in MR sidebar
Problem to solve
I frequently want to navigate from an MR to its related issue, which involves scanning through the MR description looking for the correct issue link.
Intended users
Everybody interacting with MRs.
Further details
Proposal
The "related issue" is either:
- The issue that the MR closes, if a closing reference is present.
- Otherwise, the first issue that's mentioned in the MR description. (or do we have other types of explicit references?)
Display the related issue in the sidebar above the milestone, as we do for the epic on issues:
Permissions and Security
The issue link should only be displayed if the user has access to view it.