Hello all,
We're using Jira Automation to create sub-tasks. We have a custom field of type multi-select called, "Type of Modify" with options "Storage" and "Compute." Within the automation rule, we want to build logic that IF "Storage" is selected then generate a sub-task for Storage, or IF "Compute" is selected then generate a sub-task for Compute. IF both options are selected, then generate sub-tasks for both Storage and Compute.
Here are the conditions for the custom field:
I've used the condition, "contains any of," and it is working successfully when both Storage and Compute are selected - both sub-tasks are getting created successfully.
However, when only one or the other option is selected, only the first IF logic is being checked, (in this case Storage) and is successful in creating the Storage sub-task. If I select Compute, then the status in the audit log is "no actions performed."
What am I doing wrong? Any ideas? Thanks in advance for reviewing my question.
Your rule is stopping processing because of the way the if-conditions are noted. When you want processing to continue, please try using if/else conditions or branches. Such as:
Or try with branches
Kind regards,
Bill
What @Bill Sheboy says. Let me just add a note or two.
Cheers,
Dawid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks very much for the quick replies and helpful information. @Bill Sheboy I failed to include that I had already tried if/else with no success. However, I hadn't tried the branching, so I did try that option, and it worked. Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.