Forums

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

Creation Time Query

Nuno Pimenta (ADM)
September 7, 2023

Hello Community, 

I was trying to find the best way to be able to query tickets created after a specific hour,

eg. Tickets created in last month after 17h

 

anyone have any tips about the best approach to have something?

 

thank you in advance

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
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 Champions.
September 7, 2023

Hi @Nuno Pimenta (ADM) , can you better explain your example? What does "in last month after 17h " mean exactly?

in the meantime let's say I wanted to find issues created after 7am today, for which I could use the following JQL...

created > startofday(7h)

Nuno Pimenta (ADM)
September 7, 2023

Thanks Jack, 

i already try the one for the current day and do the trick,

but we would like to know if there is a way to query for last month or a date range instead. Like to find issues created after 7am all days in the last month

Jack Brickey
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 Champions.
September 7, 2023

You cannot do that with native JQL. Look to add-ons, e.g. powerscripts or scriptrunner or others.

Nuno Pimenta (ADM)
September 7, 2023

Thank you @Jack Brickey  !

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events