Template structure overview
A template can describe more than one work item. It can create a parent work item together with child work items, and the child work items can have their own sub-tasks. You define this structure once in the template. Every time a user applies the template, the app creates the whole set.
For example, a three-level template for onboarding a new employee can create an Epic with child tasks such as Prepare equipment and Set up accounts, each with its own sub-tasks, such as Order a laptop and Create an email account.
Template types
You choose the template type when you create the template. You canβt change it later.
| Template type | What the app creates | Work type of the parent work item |
|---|---|---|
| Single work item | One work item, without child templates. | Any work type. |
| Parent + Children (two levels) | A parent work item with child sub-tasks. | A standard-level work type, for example Task, Story, or Bug. Not an Epic and not a sub-task. |
| Level 1 with Children (three levels) | A parent work item with child work items that have their own sub-tasks. | A work type of the level above standard work items, which is Epic by default. |
How the app creates the structure
The app creates the child work items after the parent work item exists, in the background. You may need to reload the parent work item to see them.
This works wherever a user can choose a template:
- The Create work item dialog.
- The work item view.
- A transition screen.
- The customer portal.
- The REST API.
- Jira Automation.
The app creates the work items level by level. Within a level, it follows the order of the child templates, in batches of up to 10. There is no guaranteed order between different branches.
Each child work item has the same reporter as its parent work item. The app creates it, not the user who chose the template.
On an existing work item, the app creates the children when the Template field changes to a different template. Each change creates a new set of child work items. The app never removes or updates the earlier ones.
There is no maximum number of child templates.
If you use a team-managed space in a template with a structure, the template can use only that space, and its children come from the same space.
To add the child work items to a template, see Add child templates.