Apps documentation
Issue Templates for Jira
Cloud Server/Data Center
Issue Templates for Jira


Server/Data Center

Release notes
Articles & Videos
Last updated Mar 19, 2024

Dynamic variables

This chapter provides information about dynamic variables.

Dynamic variables are placeholders which you can define in your primary template in text fields (for example summary, description). Before an issue is created from a template, dynamic variables are collected from the primary template and an additional form is displayed. It’s the place where you provide values.

While placeholders are collected only in the primary template, they are replaced with provided values both in primary and secondary templates.

For example, you can configure a template like this:

Add a comment
Dynamic Variables
Which results in:
Add a comment
Dynamic Variables

If you define dynamic variables in an epic and use the same variable in a story/subtask, all placeholders are replaced with the provided value. However, variables that were defined only in stories or subtasks aren’t taken into account.

One definition, many usages

It’s sufficient to define a variable only once in any field. It can then be referenced only by a name. The order doesn’t matter.



Equipment for a new employee [equipment*| laptop| monitor| headset]*


An order of equipment for a new employee: [equipment]

Dynamic variables format

To configure the format of your dynamic placeholders:

  1. Go to Apps > Manage your Apps > Issue Templates for Jira > Configuration > Variables and select Issue Templates.
  2. Click the Variables tab.
  3. Select the Dynamic type of variable from the drop-down list.
  4. Settings of variables displays:
    a. Start pattern: Type pattern which opens a variable.
    b. End pattern: Type pattern which closes a variable.
    c. Mandatory mark: Type mark which a user should add after the end pattern to make the variable required.
    d. Replace empty option: When switched on, if a variable is optional, and the value is not provided, replace the variable placeholder with an empty string (for example: text: “City {{ cityVariable }} is optional” becomes “City is optional“)
Add a comment
Dynamic Variables

Dynamic variables in Automation

Dynamic variables are supported while creating issues via issue.templates.automation property.