Versions Compared

Key

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

1. Creating global variables

You can use variables when creating a template. In this section, we will figure out how to do this using a specific example.

...

The Variables page now looks like this:

...

2. Adding variables to the template

Let's create a new issue that we can use as a base for our template “Congratulations upon hiring”. Add congratulations in the description and use two variables:

...

Save the new template using the “Create template” button.

3. Applying a template with variables

A template with variables is applied in the same way as a template without variables.

...

  • for the system variable tomorrow- the date of the next day will be substituted

  • for global variables directorsName and companyName - their default values

4. System variables in the template

Templates cannot use all system variables. Some of the system variables are needed only for hierarchies. The following system variables can be used in templates: time, today, dateTime, tomorrow, nextWeek, username, userEmail, projectKey, projectName, projectLeadName.

...