...
- Current Fix Version related
- currentfixversion:name
- currentfixversion:releasedate
- currentaffectversion:name
- currentaffectversion:releasedate
- Current user
- currentuser:id
- currentuser:fullname
- currentuser:email
- currentuser:emaildomain
- Customfield related
Single value customfields- customfield:<id of the customfield>
When the customfield is changed a refresh is automatically triggered
Multiple value customfield (e.g. Multiuser picker, multigroup picker, multiselect)
- customfield.<id>.<'all' or the index of the value>.<'name' or 'value'>
When a customfield with multiple values is needed, one might use this format of the placeholder.
The third part of the configuration (<'all' or the index of the value>) defines if all values should be retrieved from the multivalue customfield, or a single, specified by its index.
The fourth part of the configuration (<'name' or 'value'>) allows the user to specify if he/she wants to retrieve the object's name or actual value. You can use the following guide to decide:- Multiple user picker (value - username, name - display name)
- Multiple group picker (value - group name, name - group name). There is no way to get a group id from Jira API, so in this case 'value' alias will return the same as 'name' returns
- Multiple select (value - id, name - option name)
- Cascading select (value - id, name - option name)
- Multiple version picker (value - id, name - version name)
- Checkboxes (value - id, name - option name)
- Multi Level Cascade Field (value - value mapped by storeColumn property, name - option label (mapped by viewColumn property)).
For Multi Cascade field we also support level's name in the third part of the configuration. (e.g. {customfield.12345.country.name})
Usecase: In case of a multipicker customfield with ID 12345 that contains two values ('Belgium' and 'France'), you can use the following placeholders - {customfield.12345.all.value} returns 32145, 23145
- {customfield.12345.all.name} returns 'Belgium', 'France'. It is important to use single quotes instead of double quotes, because double quotes cause errors in some databases
- {customfield.12345.1.value) returns value of the first selected element
- {customfield.12345.1.name) returns name of the first selected element
- customfield:<id of the customfield>
Note |
---|
Note that not all customfields are supported. The multivalue customfields placeholder supports auto-reloading of grid on Create and Edit Issue screens. However, auto-reloading can fail for multiuser, multigroup, and version pickers since they do not trigger any change event when using popup for selection. |