Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This instruction applies only to Jira Cloud ☁️ . For instructions on accessing Variables for Data Center 🏢 , click here.

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 variables variable usage in your Jira issue templates.

Tip

New Feature! 🚀 Variables just got better!

What’s changed?

  • Introduced a separate “Form & Variables” page to manage Variables easily

  • Introduced a simple way to insert Variables into the issue field

  • Introduced an ability to sort variables and preview their presence on a Form

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Introduction

What is a Variable

...

A variable is a specific container whose value can be defined during the Jira issue creation from the saved Template.

Variables may drastically simplify working with the templates and adding necessary information on the go.

Available formats

Currently, we support only text/number variables. No dropdown/selection.

Valid variable format: <<variable name>>

Note

Beware that the following formats are not valid: [%name%], {{name}}, {$name}

Required Variables

It is

What is a Form

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.

Available variable types

Variable

Availability

Short text

Status
colourGreen
titleavailable

Long text

Status
colourPurple
titleComing soon

Number

Status
colourPurple
titleComing soon

Select dropdown

Status
colourPurple
titleComing soon

Multiselect dropdown

Status
colourPurple
titleComing soon

Date

Status
colourPurple
titleComing soon

User

Status
colourPurple
titleComing soon

Panel
panelIconId1f4ec
panelIcon:mailbox_with_mail:
panelIconText📬
bgColor#DEEBFF

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

Variable properties

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. Just put The required variable field name will be rendered with the red sign “*” symbol at the end of the variable name: <<variable name*>>

Example:

<<required*>> would be rendered as:

...

Variable Descriptions

You can also add a description to a variable so that you can instruct the person, who’s going to use your template to create an issue, on how to fill out the variable.

I.e.: <<variable name*:The valuable description on how to fill my variable>>

Example

  1. Enter the following variable <<Employee Name*: Enter full name of the employee>>

    image-20240319-122350.pngImage Removed

  2. It will be rendered as

    image-20240319-122447.pngImage Removed

How to Save Template with Variable

  1. Create Jira issue

  2. Add variable, e.g. <<Summary>> and other variables in the description or in child tasks

    Image Removed

Tip

You can add the same variable into summary/description of related sub-tasks or child issues ⭐

3. Save the Templateon the Variables form and won’t let the user proceed to the next step until the variable value is filled

...

How to create a Variable

  • Navigate to the Template

  • Click “Form & Variables” menu item

  • Click “Add Variable” and choose the Variable type you want

    add variable select.pngImage Added

  • Fill Label, Description and choose if you want it to be Required

    add variable fill.pngImage Added

  • Click Create. A new variable will appear in the list 🎉

    3. add variable. created.pngImage Added

  • You can Preview the variable on the form and then add it to the issues in the template

How to preview a variable

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

    Form preview.pngImage Added

How to add a variable to the template’s field

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.

Info

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

  • Status
    titleABC
    - the icon will appear on the top-right corner of the field

    11. insert variable.pngImage Added

  • click and choose the variable you want to insert

    12 insert variable select.pngImage Added

  • submit changes by clicking on “V” button to save the inserted field variable

    13 insert varaible added.pngImage Added

Alternatively, type a variable label in the format, like <<Employee Name>> and save changes.

Note

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

add varaible error.pngImage Added

In multiline text fields, you can add variables using shortcuts by typing /var..

...

Click “Enter” and choose a variable from the list

How to sort variable

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

    varables list.pngImage Added

  • 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

How to remove a variable

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

NOTE: Upon deletion, the variable and all its references in the issue fields will also be removed

How to adjust variable

To adjust the variable’s properties:

  • Navigate to the Template

  • Click “Form & Variables” menu item

  • Click variable name or click “…” menu → Edit

    image-20240705-140625.pngImage Added

  • Here you can change variable labels and main properties

Info

Changing the variable’s type is not possible at that moment

How to fill Variable and Create Jira issue

...

  1. Navigate to Apps → Templates, or use the left sidebar “Templates” link, or double press “x” button on your keyboard

  2. The templates Template selection dialog would appear

    21 choose template.pngImage Added

  3. Choose the relevant template, click next, and fill in the variable data

    Image Removed23 varaibles filled.pngImage Added
  4. Click “Create”

    24 issues created.pngImage Added
  5. All variables would be populated with the entered values in parent and child issues 🎉

    Image Removed25 issue created.pngImage Added

...

FAQ

How to change old variables notation to the new format? Migration.

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.

When the introduction of new Variable types is planned?

New types will be introduced gradually, but we expect the next one to be released very soon.

Can I use variables within such fields as components, labels or Teams?

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.

...

Insert excerpt
Support
Support
nopaneltrue