Hello I am trying do something like:
versions = version1, version2, version3, version4, version5;
for version in versions:
if version = requiredVersion1
update status;
elif version = requiredversion2
add label;
else
send email;
Is it possible to achieve similar result with Jira Automation, can someone help me please with example how to do it.
Thank you in advance
Hi @Mani Kumar -- Welcome to the Atlassian Community!
Which version of Jira are you using: Cloud, Server, or Data Center?
With Cloud, automation rules have an Advanced Branch to loop over a list of value: https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/#Advanced-branching
Please note well: branches over more than one thing process in parallel and asynchronously, so updating the same work item with a loop could have problems due to collisions.
For Server / Data Center, that branch type does not exist yet. Instead, I rule would need to use two rules, where one has an Incoming Webhook Trigger and is called recursively.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.