Updated on 2023-07-25 GMT+08:00

MR Templates

To configure MR templates, you can choose Settings > Template Manage > Merge Request Templates on the repository details page. When creating an MR, you can select an MR template. The template content is automatically applied to the MR.

The settings take effect only for the repository configured.

Only the repository administrators and owners can view this tab page and configure MR templates.

Creating an MR Template

Table 1 Parameters

Parameter

Description

Template name

(Mandatory) Name of the template to be created.

Configure the template as the default template

(Optional) If this parameter is selected, this template is used by default during MR creation.

Auto extract MR title

(Optional) The options are as follows:

  • None
  • Extract commit message
  • Extract E2E title

Title

(Optional) When Auto extract MR title is set to None, this parameter can be customized.

Description

This parameter is optional. Enter the description of the template. The value contains a maximum of 10,000 characters.