Create issue from template
The Create issue from template action creates a new work item from a template each time the rule runs, with the template's child work items, subtasks, links and attachments. To fill in a work item that already exists, use Apply issue template.

Add the action to a rule

Open Automation
Go to Space settings → Automation, and create a rule or open one.
Add the action
Add an action step, search for Create issue from template and select it. Jira lists it under Other apps.
Set the action's fields

| Field | What it does | When left empty |
|---|---|---|
| Issue Template | The template the rule creates from. It must be turned on and available in the space the work item is created in (Template Availability). | Required |
| Target project | The key or id of the space to create the work item in. Takes smart values: {{issue.project.key}} puts it in the space of the rule's work item. | The template's space |
| Parent issue | The key of the work item the new one goes under. Takes smart values: {{issue.key}} puts it under the rule's work item. | The template's own parent, if it has one and the work item is created in the template's space; otherwise no parent |
In another space, the new work item gets that space's work type matching the template's. A subtask template created in another space needs a Parent issue there; without one the action fails.
Use the new work item in the rule's next steps
The action hands the work item it created to the steps that follow it in the rule, as smart values:
| Smart value | What it gives |
|---|---|
{{createdTemplifyIssue.key}} | The key of the work item the action created |
{{createdTemplifyIssue.id}} | Its id |
Any later action that takes smart values can use them. For example, Comment on work item with
Created {{createdTemplifyIssue.key}} from a template tells the people watching the rule's work item which work
item the rule created. To work on the new work item itself, add a Branch flow / related work items step of type
JQL with key = {{createdTemplifyIssue.key}}, and put the actions for it inside the branch.
Check what a run creates
Each time the rule runs, the action:
- creates a work item of the template's work type, in the space and under the parent the fields give
- fills in the template's field values, with dynamic fields such as relative dates and the active sprint worked out at that moment
- creates the template's child work items and subtasks, and recreates its links
- copies the template's attachments to each work item it creates
Placeholders in the template's Summary and Description, such as {Employee name:textfield}
(dynamic text fields), are not filled in: no one sees the form that
asks for them, so they appear in the new work item as written. A Creator dynamic value means the account the action
is connected as, shown at the top of the action, not the person who triggered the rule.
When a part of the template cannot be created, the work item is still created, the action fails, and the rule's audit log names the parts that are missing. Every run appears in the template's usage history.