The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

A better now() function

Iago Docando
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.
December 16, 2019

Pointless now since Jack solved my every problem :)

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Jack Nolddor [Sweet Bananas]
Atlassian Partner
December 17, 2019

Hi Iago Docando,

What kind of JQL expression are you trying to achieve?

 

for example to find issues created exactly an hour ago you can do the following

 createdDate = -1h

and also for issues created during the last hour

 createdDate >= -1h

 

 

instead of:

 createdDate = now(-1h)

 

Hope this helps,

Regards

0 votes
Jack Nolddor [Sweet Bananas]
Atlassian Partner
December 17, 2019

Superb!

0 votes
Iago Docando
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.
December 17, 2019

It actually helps a lot.

I didn't know that. It seems that every day I get to know a new JQL "trick" :)

THANKS.

The discussion is pointless now. I will delete the suggestion.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.