With custom variables, you can create a variable that can be used in any Hierarchy or Template.
To do it:
Open Click on the add-on menu on the Jira Navigation bar Apps drop-down in the top navigation bar.
Click on the “Manage Templates” option.
Go to the Variables tab.
Click on the “Create variable” Variable” button in the Variable sectiontop right corner.
Enter the Name and Default values.
Click on the “Create” “Save” button.
...
Now when you have Custom Variable you can use it in text fields of Hierarchy Node
...
Nodes or Templates
You can manage your custom variables on the ‘Manage Variables’ page:
Open add-on menu on Jira Navigation bar
Choose Manage variables
...
Create.
Sort by Name, Owner, Created and Updated (Changed) dates.
Edit - click on the Variable you wish to change. Only the default value can be changed.
Delete.
...