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

Pointless now since Jack solved my every problem :)

3 answers

1 vote
Jack Nolddor _Sweet Bananas_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
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_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer