This article explains how to create an issue using the Create on Transition app when selecting by setting a condition with multiple custom field values.To make When you create a condition depending based on multiple values using the Create Sub-task post function, make sure that the values are mentioned 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 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-function to create subtasks when the Create Sub-task post function is used with the values Appfire, Bobswift were selected Bobswift selected.
- Add a post -function on function to the desired intended transition to create subtasksa sub-task.
Navigate to → Cogwheel → Issues → Workflows → 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 the Conditions & Configuration and add Condition 1 with the %section and add %parent_customfieldname% or %parent_customfield_ID% and the Regex pattern in alphabetical order i.e., to Condition 1 and Appfire, Bobswift .
(alphabetical order) to Regex pattern respectively. - Click Update to save the settings. Verify the condition:
- Perform the transition and Subtask will be Planning as shown and subtask is created based on the condition:
Info |
---|
In Create on Transition Commaapp, comma(,) acts as AND operator while Vertical the vertical bar(|) acts as OR operator. |