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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,752
Community Members
 
Community Events
184
Community Groups

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

 

 

2 answers

3 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 # people like this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 04, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 21, 2021

Hi @Moheeb Qupty 

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

Best regards,

Bill

@Jayce Canale I have suggested a Workaround for this -> Link 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events