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

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

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

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? 

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

97 views 1 6
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