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

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 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

642 views 6 12
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