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
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 vote
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,304 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot