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

Comparing current date with a specified due date

Hello! I'm trying to create an automation that will run periodically every month to check if a ticket is past it's specified due date. I've tried the "Advanced compare condition" like this: {now} greater than {{issue.duedate}} but this doesn't seem to be working. Now I tried the jql query {{now.isAfter(issue.duedate)}} but this isn't working either. What am I doing wrong?

Any help is much appreciated 

4 answers

0 votes
John Funk Community Leader Jan 04, 2022

Hi Esteban - Welcome to the Atlassian Community!

What do you mean by it isn't working? What exactly is happening that isn't correct? Can you share a screenshot of your rule? 

John Funk Community Leader Jan 04, 2022

And you can try this JQL:

project = ABC and duedate < startOfDay() and statuscategory != Done

Hi @Esteban Ramirez ,

In the Automation section you can use different options (red). If you need compare with other customfield you can use some similar to that

Screen Shot 2022-01-04 at 15.58.24.png

Try this in JQL query:
* for the term due <= -3d (over 3 days)
* for update issue updated <= -1w (over 1 week)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

163 views 1 5
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