Versions Compared

Key

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

TEXT type

Variables of the TEXT type work the same way as Custom Variables, but only for Hierarchy, which it created in.

To create a TEXT type of variable click the Add button in the Variables section of the Hierarchy.

Select the Variable Name (should not contain spaces and $ symbol) and Default Value (may be any text, as it is always possible to change on the Confirmation dialog).

These Variables can be used only in the single and multiline text fields - Description, Summary, Environment, etc. To use it enter the Variable Name in the text field of the Hierarchy Node with the $ sign before.

After clicking the Apply Hierarchy button the USER type of Variables will be shown on the Confirmation dialog the same way as it is for the TEXT type of Variables, so it is easy to change the Default Value to another user.

USER type

Variables of the USER type contain the selected User id so it can be used in the user picker types of fields:

  • Reporter

  • Assignee

  • People (the multiple user picker field)

To create a USER type of variable click the Add button in the Variables section of the Hierarchy and then click the type selector and elect the USER item.

...

Select the Variable Name (should not contain spaces and $ symbol) and Default Value (may be any user, as it is always possible to change on the Confirmation dialog).

...

After the USER type of variable is added its name will be added to the user selector fields of the Hierarchy Node.

...

Info

For now, usage of the USER type of variables does not give any preferences while entered in the text fields - it will return a user id after the Hierarchy is applied.

After clicking the Apply Hierarchy button the USER type of Variables will be shown on the Confirmation dialog the same way as it is for the TEXT type of Variables, so it is easy to change the Default Value to another user.

...

After Hierarchy is applied, Variables are set to its Default Values with the Usernames in created Jira issues:

...

The Hierarchy can use these variables:

To use variables in the Hierarchies, you need to type $var in the ‘Create/Edit Node’ dialog, to see all available variables that can be used.

node-var.jpgImage Added

Or you can type the sign $ and the name of the variable that you want to use. For example $time $company

Image Added

After applying the Hierarchy the value for the variables will be applied automatically. The Jira Issue will have values of the selected variables

...