Templates
A template holds the fields a new issue starts with: title, description skeleton, status, priority, assignee, labels, project, estimate, due date and sub-issues. You pick a template in the new issue window; recurring issues, form bindings and e-mail addresses also use templates.
Everyone can see templates; to create and change them you need the manage templates permission (“Only template managers can change templates.”).
The Templates page
Section titled “The Templates page”In the menu, open Administration → Settings → the Templates tab. Templates for every team are listed first, then each team’s own. Each row shows the scope, the description, the number of sub-issues and where the template is used (“default of 1 teams · 1 recurring issues” or “Not a default anywhere”). The buttons on a row:
- Copy link: copies to the clipboard the link of a new issue page opened with this template (Creating issues).
- Edit
- Delete
Creating a template
Section titled “Creating a template”- Click New template.
- Fill in the fields:
| Field | Description |
|---|---|
| Name | Required, at most 80 characters; unique within its scope. |
| Scope | Every team or one team. “The scope does not change once the template exists.” A template for every team can be picked in any team. |
| What for | A short description shown when the template is picked (at most 500 characters). |
The new issue’s fields:
| Field | Description |
|---|---|
| Title | “Left blank, the person writes it.” |
| Description skeleton | Markdown; the person fills it in. Example: the headings ## What happened?, ## Where?, ## Expected. |
| Status | Team templates only; a status that is not triage, or The team’s default status. “A template for every team picks no status.” |
| Priority | A priority. |
| Assignee | A person or Unassigned. |
| Due (days later) | “0–365 days after opening; blank = no due date.” |
| Estimate | In a team template, from the team’s scale; in a template for every team, points from 1 to 100 (“each team keeps the value only when its scale has it”). |
| Project | A project or No project. |
| Labels | A template for every team takes only labels for every team; at most 20. |
| Sub-issues | At most 20 sub-issues with their titles and priorities; they open together with the issue. |
- Click Add template. You see “Template Hata bildirimi added”.
Possible warnings: “Give the template a name.”, “The name can be at most 80 characters.”, “Due must be a number of days from 0 to 365.”, “A sub-issue cannot be saved: check their number and titles.” An organization can have at most 200 templates.
A team’s default templates
Section titled “A team’s default templates”Each team can choose which template the new issue window opens filled with. You need the permission to manage teams.
- Go to Settings → Teams → the team → the Default templates section.
- Make two choices (the team’s templates and templates for every team; the latter carry the suffix “(every team)”):
- For team members: a new issue opened by a member of the team.
- From outside the team: an issue opened from outside the team; an e-mail address without a template of its own uses it too.
- No template removes the default.
- Click Save. You see “Default templates saved”.
When someone picks the team in the new issue window, the matching default template is applied automatically; they can pick another template or No template.
Changing and deleting a template
Section titled “Changing and deleting a template”- Editing: in the Edit template window every field except the scope can change. Issues already opened from the template do not change.
- Deleting: the confirmation window counts where the template is used: “2 teams lose it as their default.”, “1 e-mail addresses are left without a template.”, “1 bound forms are left without a template.” If a recurring issue uses the template, the delete button is disabled: “1 recurring issues use this template: move them to another template or delete them first.”
When the system uses a template
Section titled “When the system uses a template”For issues opened by a recurring issue, a form or an e-mail, template values that are no longer valid (a deleted status, label or project, a deactivated user, an estimate not on the team’s scale) are skipped silently; the issue still opens.