GitLab:找不到 "default description template for merge request"

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

我创建了一个项目,角色是 Maintainer。

当我想创建"default description template for merge request"时,找不到文本区域。

enter image description here

有人知道为什么会这样吗?

我不想使用模板(.gitlab/merge_request_templates/)。

我已经创建.gitlab/merge_request_templates/Default.md。当我创建新的合并请求时,我可以看到这个模板。

但我想在不选择任何模板的情况下使用默认值。

OP 楊筱誼在评论中确认:

"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.

正是因为,正如官方文档“Description templates”中所述,您尚未在存储库的.gitlab/merge_request_templates/目录中创建.md文件。

创建、提交并推送该文件后,然后您将看到该字段:

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

那么...您将不会看到该字段。

不要忘记可见性:

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.