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

Having trouble with my IF and ELIF statements when using the advanced comparison feature


I am trying to create an automation that updates the billing date based on whether the date is greater then the set billing date for each quarter and once that billing date occurs it generates a ticket and will auto update to the next quarterly billing date that has been set. 

However I have created a series of If and Elif statements that preform the comparison however only 1 of the Elif statements works even though the constraints for this statement are not met. I was wondering if there is perhaps a different way to implement elif statements.

1 answer

Hello @Maya Jenkins 

Welcome to the community.

Can you please show us the details of the rule you have created? It is difficult to help you debug it if we don't have the details.

This is the formatting for the Automation created, the date for Term 1 is in January 2021, Term 2 is in April and Term 3 is in July. It keeps skipping over all of them and grabbing the last one which is a date in 2022

Suggest an answer

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

🤺 Atlympic Event: Partnerships

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! ...

165 views 2 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