Dynamic Fields
A dynamic field gets its value when the work item is created, not when the template was written: a due date a week from today, the sprint that is active then, or the person creating the work item. You set it once, on the template's Dynamic fields tab.
Set a dynamic value on a template
Open the template's panel
Open the template work item and its Issue Templates panel.
Open the Dynamic fields tab
The Fields menu lists the fields of the template's work type that can take a dynamic value. When there are none, the tab says so: add one of the fields from the table below to the work type first.
Choose the fields
Tick each field in the Fields menu. A box for its value appears below.
Enter the values and save
Fill in each box as the next section describes, then select Save.
Every way of using the template fills these fields in: Create issue on the template, Apply template, the Issue Template field in Jira's Create dialog, a default template, and the Automation actions. A child work item or subtask of the template with its own dynamic fields gets its own value, worked out as it is created.
Choose a value for each kind of field
| Field | Dynamic value | What the work item gets |
|---|---|---|
| Due date | A date expression, such as now + 7d | The day the expression points to |
| A date and time field | A date expression, such as now + 3h | The moment the expression points to |
| Sprint | One or more Scrum boards, or The current sprint of the project the issue is made in | The sprint active on those boards when the work item is created; none when no sprint is active |
| Assignee, Reporter and other single-user fields | Creator | The person who creates the work item |
| A multi-user field | Add creator or Set creator | Add creator adds the creator to the people the template holds; Set creator replaces them with the creator |
In Jira's Create dialog, Templify fills in dates and people as the form opens. The sprint is set on the work items Templify creates itself: from the template, by an Automation action, and the subtasks and child work items it adds.
In an Automation rule, Creator is the account the action is connected as, not the person who triggered the rule.
Write a date expression
A date expression starts with now, optionally followed by a space, + or -, a space, and an amount with its unit.
| Expression | Meaning |
|---|---|
now | Today, or for a date and time field, the moment of creation |
now + 5d | 5 days from now |
now - 2w | 2 weeks ago |
now + 2M | 2 months from now |
now + 1y | 1 year from now |
now + 3h | 3 hours from now |
now + 45m | 45 minutes from now |
The units are d (days), w (weeks), M (months), y (years), h (hours) and m (minutes). Months take a capital
M: a lowercase m means minutes. today works the same as now.
For Due date, today is the creator's day in the time zone of their Jira profile.