Forums

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

JQL in automation using now.diff(issue.created).hours

Dd
Contributor
June 26, 2023

Hi,

How can I run a JQL in automation that will check if now.diff(issue.created).hours is greater than a predefined value (say -5)?

 

Thanks

1 answer

1 vote
Ste Wright
Community Champion
June 26, 2023

Hi @Dd 

You're looking for a JQL query which will check if "now" is greater than 5 hours from the issue's created date?

Something like this should work:

created <= -5h

Ste

Suggest an answer

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

Atlassian Community Events