Query for Overdue Tasks

De Swanick November 1, 2012

This is all new to me and I'm not 100% comfortable with queries. What I want is:

For a specific project

Show all overdue tasks AND

Show all tasks who don't have an assigned due date.

I can do this: Project=CDM and duedate <now()

And it captures due and overdue tasks

But if I add the "is not empty" to the query it returns ALL issues, not project specific. This is what I had:

Project=CDM and duedate <now() or duedate is EMPTY

Any help is appreciated! Thanks.

3 answers

1 accepted

4 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
November 1, 2012

Try this:

Project=CDM and ( duedate &lt;now() or duedate is EMPTY )

De Swanick November 1, 2012

Thanks so much... I was using OR not AND as I stated above but I was misisng the "( )". It works perfect!

Thanks for the quick answer.

1 vote
katarzyna.kot@contesta.pl February 7, 2018

Dear Jobin. maybe you could help also me

sometimes user dont set up due date for issues but they are in sprint which has got due date. can I prepare that kind of query which could show me overdue tasks in context of sprint due date when task duedate is empty? could you help me to creat that kind of quesry?

 

the same for issues ontime bu I assume that will be easy having previous one :)

 

thx for helping !

Kasia

0 votes
De Swanick November 1, 2012

Thanks so much... I was using OR not AND as I stated above but I was misisng the "( )". It works perfect!

Thanks for the quick answer.

Suggest an answer

Log in or Sign up to answer