Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL query

annie annie September 1, 2020

Hi, i need a query to show the tickets created greater than 4 hours

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
September 1, 2020

The advanced query below should tell you the basics:

created < -4h

The "created" field is the date/time the issue was created, and the -4h is worked out as " now, minus 4 hours".  If you're going to work with relative times more, be aware of that calculation, as it is purely relative to "now", it does not take account of working hours.

You probably want to combine that with things like "ignore closed issues", so maybe "created < -4h and resolution is empty"

annie annie September 1, 2020

thanks a lot

annie annie September 1, 2020

And if I wanted to use minutes it would be : created < -105m (for 1h45m) ?

Nic Brough -Adaptavist-
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.
September 1, 2020

Yep, should be.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events