Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I'm unable to find IF/ELSE statements in Jira's Automation platform

Edited

Was there a recent update that axed the IF/ELSE statements? All I'm seeing is Condition/Action components. These are not suitable for the solution I'm working on since if the first condition does not pass, all the proceeding conditions after that will not execute. Maybe I'm missing something? 

 

Here's a small example from a much bigger automation rule. If the first condition does not equal 'Not Stored', the second condition does not execute. 

2020-12-04_153658.png

 

 

1 answer

2 votes
John Funk Community Leader Dec 04, 2020

Hi Jayce,

Under the New Condition listing you should see If/else block

screenshot.png

I see. It looks like the If/Else is not available inside the 'For' branch. I'll have to go about this another way then. Thanks for the quick reply!

Like John Funk likes this

Hi @Jayce Canale 

Here is the suggestion item in the Code Barrel backlog to add If/Else within a branch:

https://codebarrel.atlassian.net/browse/AUT-1005

Best regards,

Bill

Like Jayce Canale likes this
Simmo Atlassian Team Dec 06, 2020

Hi @Jayce Canale,

That's right, an If / Else block isn't available instead a branch as we only support one level of branching and an if else is a branch in its own right.

Shout out if you need a hand rejigging your rule!

Cheers,

Simeon.

Like Jayce Canale likes this

Hi @Bill Sheboy

 

You said that there's a suggestion to add If/Else within a branch in:

https://codebarrel.atlassian.net/browse/AUT-1005

I don't see any suggestion in that ticket.

Hi @Moheeb Qupty 

The title of that suggestion is "Allow IF/ELSE block within branches"

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

105 views 1 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you