This article explains how explains how to add multiple AND operators in Create on Transition Conditions & Configuration tabconditions to transitions in the Create on Transition app. Use comma (,) as a separator to specify multiple parameters in a condition.
Instructions
- Log into Jira Login as a Jira Administrator and click > Issues > Projects.
- Navigate to the intended transition Select the required project and click Project Settings > intended workflow > intended Transition
- Select the target transition and add the Create Sub-Task Post Function
- Select Conditions and Configuration.
- Configure the post function with AND operator in Condition box for multiple custom fields. Under Condition box, the Comma (,) acts as AND operator. Below is the screenshot for reference.
- Select the required workflow and click Edit to view the transitions associated with the workflow.
- Select a transition and click Post-Function from the box on the right. Details about the transition are displayed.
- Click Add post function. The Add Post Function To Transition screen appears.
- Select Create Sub-task from the list and click Add.
- Select Conditions & Configuration from the sidebar.
- Enter the parameters, separated with commas (,), in Condition 1.
- Enter the values, for the parameters specified in Condition 1, in Regular expression pattern as shown:
6. Save the Post Function and below is the screenshot for reference. Click Add. The post function is shown as:
7. Publish the workflow before performing the transition. The sub-tasks are created only when all conditions are if the specified condition is met.
Info |
---|
It is recommend to recommended to test this scenario in a test environment before implementing deploying it in production. |