Allow issues/merge requests templates to customize special messages

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

  • Close this issue

Currently if you have a template like the following:

## What are the relevant issue numbers?

## Screenshots (if relevant)

and you create a MR for a branch matching an issue, you'll get something like:

## What are the relevant issue numbers?

## Screenshots (if relevant)
Closes #1234

since MergeRequests::BuildService just appends that message at the end of the description. Ideally you could specify the position of that snippet within the template.

We discussed wether this could be implemented with a special syntax that would later be parsed and replaced, although hopefully there's a simpler solution.

Edited Sep 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading