Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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. 

  1. 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.
  2. Select Create Sub-task post - function as shown below:
    Image Modified
  3. 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 .
    Image Removed
    Image Removed(alphabetical order) to Regex pattern respectively.
    Image Added
  4. Click Update to save the settings. Verify the condition:

    Image Added
  5. Perform the transition and Subtask will be Planning as shown and subtask is created based on the condition:
    Image Modified
Info

In Create on Transition Commaapp, comma(,) acts as AND operator while Vertical the vertical bar(|) acts as OR operator.