The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to find issues that answering to specific date condition?

Gilad Shtern
Contributor
February 10, 2021

Hello,

I'd like to search for issues that due date is greater than another date custom fields.

For example:

issueFunction in dateCompare("", "duedate < \"Orig Due Date\"")

Note: Orig Due Date - date custom field

 

But, I get error of date format:

Scripted function "dateCompare" compilation failure. Contact administrator and check logs. Message: Field name: "Orig Due Date" not found or not a date or datetime.

Kindly,

Gilad

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Elifcan Cakmak
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 Champions.
February 10, 2021

Hello

Try it like this:

issueFunction in dateCompare("", "duedate < Orig Due Date")

Regards,

Elifcan

Gilad Shtern
Contributor
February 14, 2021

Working, 

Thank you.

Gilad