Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to query Datetime field as Date only in JQL Datecompare search query

Mariam Mohamed
Contributor
October 20, 2022

I have query built to compare two Datetime fields, but the issue is that I need it to read the date only without the time. Please let me know if there's any way or workaround.

Here's my query (bold text represents the datetime I want to read as date only):

issueFunction in dateCompare("Project = EEE AND issuetype not in (Epic) AND \"Planned End\" >= startOfYear() AND \"Planned End\" <= now()", "Actual End > Planned End")

1 answer

1 accepted

0 votes
Answer accepted
Patty Land
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.
October 27, 2022
Mariam Mohamed
Contributor
October 28, 2022

Thank you so much Patty, this was stuck with our management reporting team for long.. Glad to have found a solution!

Suggest an answer

Log in or Sign up to answer