How to write "elseif" condition on the workflow?

 

The second IF doesn't work when issues are transitioned to "Esperando Validacion " status.

Any workaround on this? I am reluctant to write a 2nd rule for every elseif.

Captura de pantalla 2017-10-11 a la(s) 15.45.16.png

1 answer

1 accepted

This widget could not be displayed.
Scott Harwood Community Champion Oct 11, 2017

Hi Sebastián,

You need to use a branch to simulate an else if condition. The problem is it hits your first if condition then stops there as it doesn't match the criteria. 

 

Screen Shot 2017-10-12 at 10.12.22 am.png

 

Also, I recommend compare condition here rather than a jql one, it will help your rule to execute faster.

 

For a more detailed summary of else if, we have a knowledge base article written here:

https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/54100588/How+can+I+run+a+different+action+when+a+condition+doesn+t+match+if+else+branch

 

Cheers,

Scott

Thanks @Scott Harwood that workaround works great!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

487 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you