This article explains how to create an issue using Create on Transition app when selecting multiple custom field values.
To make create a condition depending based on multiple values, make sure that the values are in alphabetical order when you mention them in Create on transition post-functionTransition Post Function. Below is the example which explains the scenario.
Instructions
In the below example, we considered consider a Select List (multiple choices) custom field named Demo with values as Appfire, Bobswift, and Testing. In this scenario, we want to make a post-a post function to create subtasks when the values Appfire, Bobswift were selected are selected.
- Add a post-function a Post Function on the desired transition to create subtasksa 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 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 and Subtask subtask will be created based on the condition:
...
Info |
---|
In Create on Transition Commaapp, the comma(,) acts as AND operator while Vertical the vertical bar(|) acts as OR operator. |