This instruction applies to Jira Cloud |
Variables & Forms is a powerful feature. It may drastically simplify working with the templates and adding necessary information on the go.
Here you can find information about variable usage in your Jira issue templates.
New Feature! š Variables just got better! Whatās changed?
|
A variable is a specific container whose value can be defined during the Jira issue creation from the saved Template.
A "Form" is a structured interface where users can input values for predefined variables during the creation of a Jira issue from a saved template. The form facilitates the process by presenting fields for each variable, guiding the user to enter the necessary information in an organized manner. This ensures that all required data is collected before proceeding with the issue creation.
A form is present on the second step of the issue creation (or applying) from the template process when thereās a variable present.
Variable | Availability |
---|---|
Short text |
|
Long text |
|
Number |
|
Date |
|
Select dropdown |
|
Multiselect dropdown |
|
User |
|
If you are missing any variable type and need some specific custom variable or Jira field to be filled upon issue creation - let us knowhttps://appliger.atlassian.net/servicedesk/customer/portal/1 |
You can add a description to every variable. It may serve as additional instruction to the user on filling in a particular variable while Jira issue creation.
It is also possible to define if the variable is optional or required. The required variable field name will be rendered with the red sign ā*ā on the Variables form and wonāt let the user proceed to the next step until the variable value is filled
Navigate to the Template
Click āForm & Variablesā menu item
Click āAdd Variableā and choose the Variable type you want
Fill Label and Description, add the Default value, and choose if you want it to be Required
Click Create. A new variable will appear in the list
You can Preview the variable on the form and then add it to the issues in the template
To see a form appearance and how variable field will be rendered and shown to the user while a new Jira issue is created from the template:
Navigate to the Template
Click āForm & Variablesā menu item
Click āForm Previewā tab
To request the variable filling from the user on the form while issue creation, and to put filled values in the created Jira issue, the variable must be added to a templateās (custom) field.
Variables could be added to the text-based fields only, like Summary, Description, and Custom Fields of single-line or multiline text types. |
Navigate to the Template
Click on the issue from the issues list
Click the field to enter edit mode
- the icon will appear on the top-right corner of the field
You may notice that the Variables icon is the same as the icon for adding the Status element in the issueās Description field. We will fix this confusion soon
You may notice that the Variables icon is the same as the icon for adding the Status element in the issueās Description field. We will fix this confusion soon š
click and choose the variable you want to insert
submit changes by clicking on āVā button to save the inserted field variable
Alternatively, type a variable label in the format, like <<Employee Name>>
, and save changes.
Note, the variable needs to be created via āForm & Variablesā page, otherwise youāll get an error that āVariable is not definedā while saving changes ![]()
|
In multiline text fields, you can add variables using shortcuts by typing /var..
Click āEnterā and choose a variable from the list
By default, variables will be shown in their creation order on the form.
To reorder variables and arrange them per your needs:
Navigate to the Template
Click āForm & Variablesā menu item
Tap on a variable name
Drag up/down and drop in the position you need
Feel free to check if itās organized properly via āForm Previewā
To remove variables from the template:
Navigate to the Template
Click āForm & Variablesā menu item
Find the variable, click āā¦ā menu
Click delete
After confirmation, the variable will be removed from the template
NOTE: Upon deletion, the variable and all its references in the issue fields will also be removed |
To adjust the variableās properties:
Navigate to the Template
Click āForm & Variablesā menu item
Click variable name or click āā¦ā menu ā Edit
Here you can change variable labels and main properties
Changing the variableās type is not possible at that moment |
Navigate to Apps ā Templates, or use the left sidebar āTemplatesā link, or press āxā button on your keyboard
Template selection dialog would appear
Choose the relevant template, click next, and fill in the variable data
Click āCreateā
All variables would be populated with the entered values in parent and child issues
No actions are required!
Once you update your Easy Templates version to the latest one - your variables will be converted to the new format and accessible via Form & Variables menu item.
New types will be introduced gradually, but we expect the next one to be released very soon.
Not yet. Variables can be used with single or multiline text fields as of now. The next field types of support will be rolled out gradually.