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
Community Members
Community Events
Community Groups

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 Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

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