How to filter tickets before it gets overdue?

Hello,

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?

 

Thanks,

2 answers

1 accepted

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

Hi Lorenze,

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

Regards,

Thomas

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) 

 

Thanks!

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): https://answers.atlassian.com/questions/250963

Thomas

 

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,030 views 2 7
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