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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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?




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:

1 vote
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 19, 2017 • edited Oct 18, 2018

Hi Anthony,

Sorry for the slow response on this.  We don't fully support this yet (see, but there is a workaround that works in a lot of cases.  

EDIT: This is now available - see


Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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? 

2023 and we still can't use if/else inside a branch

Is atlassian still working on Jira?

Like # people like this

Work Around for this issue using Web hooks

In my case, whenever Epic's Due Date was modified I had to recalculate the dates for all of its children and calculation logic varied based on the Summary of the Child Issue present. 

having if/else on Branching option to run the date calculation based on if, else would be best option, but since it is not there. I have used following approach.

Step 1 - Setup a trigger on the parent/epic that will call a web hook and pass the Issue Key to the service.

Step 2 - Setup an incoming web hook with setting ► "Issues provided by running the following JQL search" and now use the smart value to generate the JQL like below 

issuefunction in issuesInEpics("key={{webhookdata.key}}")

Now you can add IF/Else without a branch option and every issue from the JQL will iterate through it and control can be sent back to the calling service if required.


outgoing side

Annotation2 2023-04-11 140918.png


Incoming Side

Annotation 2023-04-11 140918.png

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events