Mention of the Task in merge request description will be visible in 'Development section' only if target branch for MR is default. Is this by design?

Problem to solve

Describe your question in as much detail as possible:

  • When mention Task in description of merge request using any of the predefined key words (Implements, Releates to …) for any other branch (except for default), merge request is not visible in Development section of the Task
  • If target branch for Merge request is default branch everything works as it should
  • If you set target branch in Merge request to be any other branch (except default) linking doesn’t work and I don’t know if this is by design or I do something wrong.

Steps to reproduce

  • Create new Merge request and set target branch any except default
  • Save MR
  • Edit MR and add Implements: #TaskId
  • MR is not visible in Development section in Task (work item type) implemented by this epic

Configuration

  • Set main as you default branch

Versions

Please add an x whether options apply, and add the version information.

  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

  • GitLab 17.5