Error formatting macro: appfire-confluence-analytics: java.lang.NullPointerException: Cannot invoke "com.atlassian.confluence.xhtml.api.MacroDefinition.getMacroId()" because "macroDefinition" is null
Skip to end of banner
Go to start of banner

Create a value map using the cascade select configuration

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Description

Substitution variables are of great help when it comes to configuring field values for issues. Want to use a field value using a value map? For instance, you want the Jira user to see one value on the screen, but internally, you need a different value to be set in a custom field. How can this be done easily? This shows how to do this using a cascade select configuration in an non-typical way. CSOT-103 has more details on the configuration access capability use in this example.

Example of a value map

KeyValue
joejoe@xxx.com
sallysally@xxx.com

Steps

The following steps demonstrate how to configure Create on Transition, regex inspection of the project using a built-in function:


StepExample
1

Create a cascade select custom field

  • Field is not intended for use
  • It is just for saving configuration values

2Add a parent entry with the key value of your map
3Create a child entry with the value part of your map
4Repeat for each key and value pair

Use substitution values

Suppose your cascade select custom field is called: myMap

ExampleResult
%values_myMap(joe)%joe@xxx.com
%values_myMap(sally)%sally@xxx.com

%values_myMap(%entry%)%

  • when using multiple issue creation
  • processing the sally entry
sally@xxx.com

  • No labels