Add template priority to docs

parent 8c1ad9c3
...@@ -157,6 +157,16 @@ headings, lists, and so on. ...@@ -157,6 +157,16 @@ headings, lists, and so on.
You can also provide `issues_template` and `merge_requests_template` attributes in the You can also provide `issues_template` and `merge_requests_template` attributes in the
[Projects REST API](../../api/projects.md) to keep your default issue and merge request templates up to date. [Projects REST API](../../api/projects.md) to keep your default issue and merge request templates up to date.
#### Priority of description templates
When you set [merge request and issue description templates](#set-a-default-template-for-merge-requests-and-issues)
in various places, they have the following priorities in a project.
The ones higher up override the ones below:
1. Template selected in project settings.
1. `Default.md` from the parent group.
1. `Default.md` from the project repository.
## Example description template ## Example description template
We use description templates for issues and merge requests in the We use description templates for issues and merge requests in the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment