Skip to main content

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​

  1. Open the template's panel

    Open the template work item and its Issue Templates panel.

  2. 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.

  3. Choose the fields

    Tick each field in the Fields menu. A box for its value appears below.

  4. 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​

FieldDynamic valueWhat the work item gets
Due dateA date expression, such as now + 7dThe day the expression points to
A date and time fieldA date expression, such as now + 3hThe moment the expression points to
SprintOne or more Scrum boards, or The current sprint of the project the issue is made inThe sprint active on those boards when the work item is created; none when no sprint is active
Assignee, Reporter and other single-user fieldsCreatorThe person who creates the work item
A multi-user fieldAdd creator or Set creatorAdd 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.

ExpressionMeaning
nowToday, or for a date and time field, the moment of creation
now + 5d5 days from now
now - 2w2 weeks ago
now + 2M2 months from now
now + 1y1 year from now
now + 3h3 hours from now
now + 45m45 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.