Forums

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

How to write JQL statement to compare two dates

Anora C January 24, 2024

Here is my real life example.  I want to create an automation to alert a user when a ticket is entered and the [custom field date] is before [ticket created date].  

 

Right now I only see how to write JQL to show if [custom field date] is older than X days, but nothing that actually compares two dates.  any ideas?

1 answer

0 votes
Deepanshu Natani
Community Champion
January 24, 2024

Hi @Anora C You can use Script Runner to compare 2 dates. Please check out this link for more details.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events