Search query

kalyan suram May 18, 2016

Hi,

 

How to write a query if I want to get the list of tickets which are changed from "Dev in progress" to "Dev complete" which crossed respective "due dates"?

Please help.

 

Regards,

Kalyan

3 answers

0 votes
Chris Dunne
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.
May 18, 2016

Another way of saying the same things is

resolution is empty and duedate < now()

This will give you all unresolved issues that are late.

Another option might be

status not in (Resolved, Closed) and duedate < now()

If you only want to show those issues that have transition from one status to another and are still open and have crossed their due dates you could used the changed operator.

status changed from "Dev in progress" to "Dev complete" and (resolution is empty and duedate < now())

Hope that helps.

Chris

 

0 votes
kalyan suram May 18, 2016

Hi Chris,

 

Thanks for the response, say for e.g there are 10 tickets in the project and

5 of them have due date of 21st but 2 of them were delivered on 22nd

3 of them have due date of 22nd and 1 of them delivered on 25th

2 of them have due date of 25th and both of them got delivered on 28th

 

I want to write a query on 29th to get the list of tickets where due date is crossed i.e I should get 2+1+2 tickets.

Regards,

Kalyan

0 votes
Chris Dunne
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.
May 18, 2016

Not sure what you mean by "crossed respective due dates" - can you explain or give an example.

 

 

Suggest an answer

Log in or Sign up to answer