Show related work items as structured data within an MR

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

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?)

This related work item should be shown in a consistent location within the main body, providing users with a predictable place to find the related item.

  • Clicking the work item should, ideally, open the work item in a side panel (when available and when user preference enabled), providing the option for side-by-side comparison of the work item and MR details.
Original sidebar proposal Display the related issue in the sidebar above the milestone, as we do for the epic on issues:

image

Permissions and Security

The issue link should only be displayed if the user has access to view it.

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited Jan 14, 2026 by Nick Leonard
Assignee Loading
Time tracking Loading