Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitLab : Can not find "default description template for merge request"

I created a project and the role is Maintainer.

When I want to create "default description template for merge request", I can not find text area.

enter image description here

Does anyone know why this is happening?

I do not want to use template(.gitlab/merge_request_templates/).

I have create.gitlab/merge_request_templates/Default.md.When I create new merge request, I can see this template.

But I want to have a default value without selecting any template.

like image 949
Hsiao-I Yang Avatar asked Oct 21 '25 07:10

Hsiao-I Yang


1 Answers

The OP 楊筱誼 confirms in the comments:

"Setting default template" is only available if you have a Starter (or higher) license for a self-managed installation of GitLab or Bronze for GitLab.com.

My trial license seems to have expired, so it cannot be displayed.


I can not find text area.

Precisely because, as described in the official documentation "Description templates", you do not have yet created a .md file in the .gitlab/merge_request_templates/ directory of your repository.

Once you have created, committed and push that file, then you will see that field:

https://docs.gitlab.com/ee/user/project/img/description_templates_merge_request_settings.png

I do not want to use template(.gitlab/merge_request_templates/).

Then... you won't see that field.

Don't forget the visibility:

The visibility of issues and/or merge requests should be set to either “Everyone with access” or “Only Project Members” in your project’s Settings / Visibility, project features, permissions section, otherwise the template text areas won’t show.

like image 77
VonC Avatar answered Oct 24 '25 05:10

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!