This chapter provides information on how to add a template to the existing work item by using Apply template button.
Apply template feature allows you to apply a template to an existing work item. You will find the link to the dialog on work item view, in the Actions menu. Apply template supports Dynamic Variables.
Steps
Result
A work item is updated with the values from the template.
If you can’t find the answer you need in our documentation, raise a support request*.
To select which user groups can use Apply template follow instructions in the Global configuration chapter.
This chapter provides information about applying template via work item property.
Apply template can be used in Automation, Jira REST API.
You can trigger Apply template when you create a work item via REST API or using Automation action. There are two ways to do it:
We recommend the second approach, because it allows you to pass dynamic variables and doesn’t require changing your screen settings.
This page provides information how to use apply template post function
Apply template post function allows you to automatically complete fields with values from a template after the transition is performed. While adding a post function you can select a relevant template, which will be applied to already created work item. This post function works exactly the same as apply template feature.
Prepare the template, make sure to edit template’s scope.
If you want to apply different templates for different work item types you need to split the workflow.
Click Create to edit the initial transition.
Select Apply template.
Click Add.
As a result, it will be added to the transition.
When a work item is created, the assigned template will be automatically applied. For fields defined in the template’s scope, values from the template will be copied to the work item. If the template work item has children work items or linked work items, they will also be recreated.