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,456,258
Community Members
 
Community Events
176
Community Groups

Automation for Jira - When adding a new rule the logic defaults to AND how do i add IF ELSE logic?

When trying to create a new rule using a "user condition"

The logic only allows for AND statements, so all conditions must be true, but I need to be able to use IF, ELSE type statements in this automation. Will this work?

 

If not, what is the supported way of using this kind of logic structure?

 

Thanks

 

2 answers

Seem this still not available using "If-Else" block in Branch, which surprising why it's not implemented what the harm to have this normal if/else conditions!

 

Anyway, question to @andreas  what is the workaround that works in a lot of cases you mentioned earlier?

The following link doesn't work:

https://docs.automationforjira.com/components/conditions/conditions.html#if-else-block

Hi Anthony,

Sorry for the slow response on this.  We don't fully support this yet (see https://codebarrel.atlassian.net/browse/AUT-42), but there is a workaround that works in a lot of cases.  

EDIT: This is now available - see https://docs.automationforjira.com/components/conditions/conditions.html#if-else-block

Cheers,
  Andreas

Trudy Claspill Community Leader Jan 30, 2020

The If-Else block does not appear to be available within a branch. Disappointing.

 

 

Screen Shot 2020-01-30 at 1.02.01 PM.png

Like # people like this

@Trudy Claspill I was stuck with this too, but I did the if condition outside the branch stuff. In my case, it worked, I just changed my logic. 

Hi everybody, where are we with this feature? It is said it is implemented, but I can't see it.

Like # people like this

Any updates on this? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events