This article explains how to create an issue using Create on Transition app when selecting multiple custom field values.
To create a condition based on multiple values, make sure that the values are in alphabetical order when you mention them in Create on Transition Post Function. Below is the example which explains the scenario.
Instructions
In the below example, we consider a Select List (multiple choices) custom field named Demo with values as Appfire, Bobswift, and Testing. In this scenario, we make a post function create subtasks when the values Appfire, Bobswift are selected.
- Add a Post Function on the desired transition to create a sub-task. Navigate to → Cogwheel → Issues → Workflows → select the workflow of the project and edit to add post function.
- Select Create Sub-task post function as shown below:
- Select Conditions & Configuration section and add Condition 1 with the %parent_customfieldname% or %parent_customfield_ID% and the Regex pattern in alphabetical order i.e., Appfire, Bobswift.
- Click Update to save the settings. Verify the condition as shown in the below sample screenshot:
- Perform the transition Planning as shown below and subtask will be created based on the condition:
In Create on Transition app, the comma(,) acts as AND operator while the vertical bar(|) acts as OR operator.