How to filter tickets before it gets overdue?


How do we filter tickets  before it gets overdue?  is there a way to filter ticket that are 8 hours away from its due date?



2 answers

1 accepted

2 votes
Accepted answer
Thomas Schlegel Community Champion Mar 02, 2017

Hi Lorenze,

this JQL should do it: due >= "0" AND due <= 8h



Hi Thomas, 


Thanks for the prompt response,that works like a charm. laugh. Is there also way in JIRA to filer the first instance of a certain transition? (e.g StatusA --> StatusB) 



Thomas Schlegel Community Champion Mar 02, 2017

Yes, of course. Create a custom field of type Datetime and add it to your project.

In the transition, add a post function, which fills the custom field with the current date and time if it is not already filled.


Is there another way to filter it rather than adding additional custom field? or maybe an add-on  that would be able to track a transition and present it into a filter or dashboard?

Thomas Schlegel Community Champion Mar 03, 2017

Hi Lorenze,

main problem is, that you want the date, the transition was executed first. I don't think that you can get this date without a custom field.

Do you have the Script Runner Plugin? If so, here's another solution for your problem (but also with a custom field):



Thanks Again for the response Thomas. Appreciate it. I'll check on scriptrunner

0 votes
Tarun Sapra Community Champion Mar 02, 2017

Generally 8 hour is workday duration, thus I would use something like -

dueDate &gt; startOfDay() AND dueDate &lt; endOfDay()

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,041 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you