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 If condition triggers even though it shouldn't Edited

I have an if/else condition for my automation rule. 

When the field "needed for Saas" is set to yes, I want it to check the epic the issue is under, if it's not the "legacy-hris-payroll" then clone into the HRIS project, if it is then clone it to the Pay project. 

When I tested an issue, it's epic is correct, but the if condition passes and I get an HRIS ticket created instead of PAY.


Screen Shot 2021-07-22 at 10.51.57 AM.pngScreen Shot 2021-07-22 at 10.42.55 AM.png

1 answer

Hi @Phyllis Zhu 

What type of project is this rule for: company-managed or team-managed?  I'm wondering if Epic Name is the problem for mismatches in conditions.

And, if you use log statements to write the issue fields used in the conditions to the audit log, do you see the values you expect for the conditions to pass/fail?  I'm wondering if there are other values in those fields.

Best regards,

Actually figured it out now. 
I have to use the JQL condition and use Epic Link for the condition. 
I could probably use the advanced condition too.

What I wanted to use is the epic link but that's not an option in the issue condition so I started out with the Epic Name and was trying out the related issue condition - parent but that didn't work. 

For some reason when I did a JQL search to verify the epic name would work it returned the right results so I thought it would work. Funny enough when I tried it again the query didn't work and I realized I'd have to use Epic Link. 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

62 views 0 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