How to compare two different time values using JQL

onionwang July 7, 2021

Hello Everyone ,thanks for your time.

Our issue has two userdefined time values,one named  “planned finish date”,and the other is “actual finish date” .

Now my problem is i want to find the issues which “actual finish date”  is later than “planned finish date”.

When i use “actual finish date”  >=“planned finish date” in JQL,i got a  tip saying format error. Please tell me how to resolve this problem.

1 answer

1 accepted

1 vote
Answer accepted
Niranjan
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.
July 7, 2021

Hi @onionwang - JIRA's native JQL feature does not let you to compare dates, but with script runner you can do it. Try the below JQL (works only if you have script runner installed)

issueFunction in dateCompare("project = ABC", "updated > Resolved")

onionwang July 7, 2021

Thank you very much!I have successfully  resolved this problem with your help! 

Suggest an answer

Log in or Sign up to answer