Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a6985c77
Commit
a6985c77
authored
Aug 17, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new image to show the 'Reset template' button
parent
163c4f56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
doc/user/project/description_templates.md
doc/user/project/description_templates.md
+6
-5
doc/user/project/img/description_templates.png
doc/user/project/img/description_templates.png
+0
-0
No files found.
doc/user/project/description_templates.md
View file @
a6985c77
# Description templates
# Description templates
>
**Note:**
[Introduced][ce-4981] in GitLab 8.11.
>[Introduced][ce-4981] in GitLab 8.11.
Description templates allow you to define context-specific templates for issue
Description templates allow you to define context-specific templates for issue
and merge request description fields for your project.
and merge request description fields for your project.
...
@@ -31,10 +31,11 @@ push to your default branch.
...
@@ -31,10 +31,11 @@ push to your default branch.
## Using the templates
## Using the templates
Let's take for example that you have created the file
`.gitlab/issue_templates/bug.md`
.
Let's take for example that you've created the file
`.gitlab/issue_templates/Bug.md`
.
This will enable the
`bug`
dropdown option when creating or editing issues. When
This will enable the
`Bug`
dropdown option when creating or editing issues. When
`bug`
is selected, the content from the
`bug.md`
template file will be copied
`Bug`
is selected, the content from the
`Bug.md`
template file will be copied
to the issue description field.
to the issue description field. The 'Reset template' button will discard any
changes you made after picking the template and return it to its initial status.
![
Description templates
](
img/description_templates.png
)
![
Description templates
](
img/description_templates.png
)
...
...
doc/user/project/img/description_templates.png
View replaced file @
163c4f56
View file @
a6985c77
56.3 KB
|
W:
|
H:
20 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment