Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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 variable, click the Add button in the Variables section of the Hierarchy. Then select the Variable Name (should not contain spaces and $ symbol)
...
To choose the Default Value enter the text needed and press ‘Enter’. You can select as many default values as you wish. To remove these, click the cross icon on the ‘Default Value’ label.
...
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 set of Variables will be shown on the Confirmation dialog. Click the Variable default value to choose one of the selected values:
...
How to create a new Value for Hierarchy Text Variable?
In order to create a new value for a text variable, you need to enter a new value in the text field ‘Enter value for variable’ and press Enter on the keyboard or press' Use '(new value)' in the drop-down list and then the Hierarchy will be applied with this new value.
...
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
USER type |
Variables of the USER type contain the selected User id so it can be used in the single- and multi-user picker types of fields:
Reporter
Assignee
People
Approvers, etc
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.
Or you can type the sign $ and the name of the variable that you want to use. For example $time $company
After applying the Hierarchy the value for the variables will be applied automatically. The Jira Issue will have values of the selected variables
...