Skip to content

Fix comment preview of issuable link+ on epics

What does this MR do and why?

Fixes displaying issuable title in comment preview on a linked issuable when adding + for Epics.

Screenshots or screen recordings

Before After
New_epic_5___10____Epics___Gitlab_Org___GitLab__1_ New_epic_5___10____Epics___Gitlab_Org___GitLab

How to set up and validate locally

  1. Visit an epic.
  2. In the comment textarea, paste the link to an issuable (epic/issue/merge request).
  3. Click preview and verify that the title of issuable is displaying.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #372062 (closed)

Edited by Florie Guibert

Merge request reports