summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-09-07 10:29:40 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2017-09-07 10:29:40 +0000
commit1bdabb39f88d00aa1b809bf2d117e5e22384866f (patch)
treef52a0cbd06bd3c209caede6c9c78f7c9651ddd94
parentd441b5e7b52ccfadf9adb3b7fc73f5e33f5da6bf (diff)
parent41151dd25d7f46b21501acf52c3b2116f5697bb8 (diff)
downloadgitlab-ce-1bdabb39f88d00aa1b809bf2d117e5e22384866f.tar.gz
Merge branch 'docs-37499-add-description-template-examples-to-the-docs' into 'master'
Add description template examples to the docs Closes #37499 See merge request !14073
-rw-r--r--changelogs/unreleased/37499-add-description-template-examples-to-the-docs.yml5
-rw-r--r--doc/user/project/description_templates.md54
2 files changed, 59 insertions, 0 deletions
diff --git a/changelogs/unreleased/37499-add-description-template-examples-to-the-docs.yml b/changelogs/unreleased/37499-add-description-template-examples-to-the-docs.yml
new file mode 100644
index 00000000000..2a8e8a33225
--- /dev/null
+++ b/changelogs/unreleased/37499-add-description-template-examples-to-the-docs.yml
@@ -0,0 +1,5 @@
+---
+title: Add description template examples to documentation
+merge_request:
+author:
+type: other
diff --git a/doc/user/project/description_templates.md b/doc/user/project/description_templates.md
index ea7496af089..7c94f4ef4d8 100644
--- a/doc/user/project/description_templates.md
+++ b/doc/user/project/description_templates.md
@@ -39,4 +39,58 @@ changes you made after picking the template and return it to its initial status.
![Description templates](img/description_templates.png)
+## Description template example
+
+We make use of Description Templates for Issues and Merge Requests within the GitLab Community Edition project. Please refer to the [`.gitlab` folder][gitlab-ce-templates] for some examples.
+
+> **Tip:**
+It is possible to use [quick actions](./quick_actions.md) within description templates to quickly add labels, assignees, and milestones. The quick actions will only be executed if the user submitting the Issue or Merge Request has the permissions perform the relevant actions.
+
+Here is an example for a Bug report template:
+
+```
+Summary
+
+(Summarize the bug encountered concisely)
+
+
+Steps to reproduce
+
+(How one can reproduce the issue - this is very important)
+
+
+Example Project
+
+(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
+
+(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
+
+
+What is the current bug behavior?
+
+(What actually happens)
+
+
+What is the expected correct behavior?
+
+(What you should see instead)
+
+
+Relevant logs and/or screenshots
+
+(Paste any relevant logs - please use code blocks (```) to format console output,
+logs, and code as it's very hard to read otherwise.)
+
+
+Possible fixes
+
+(If you can, link to the line of code that might be responsible for the problem)
+
+/label ~bug ~reproduced ~needs-investigation
+/cc @project-manager
+/assign @qa-tester
+```
+
[ce-4981]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4981
+[gitlab-ce-templates]: https://gitlab.com/gitlab-org/gitlab-ce/tree/master/.gitlab
+