JIRA 6.2.2, ScriptRunner 3.0.16
The following JQL:
issueFunction in dateCompare("'", "created + 3h > Date of First Response")
gave errors:
I've tried replacing Date of First Response with followings but didn't work:
In my JIRA instance, Date of First Response field is list as type: Date of First Response (yes same name) rather than of type: Date Picker.
However, referencing https://scriptrunner.adaptavist.com/4.3.1/jira/jql-functions.html, this works:
issueFunction in dateCompare("", "created + 3h > firstCommented")
but I am not sure where @Jamie Echlin [Adaptavist] got firstCommented field from, is it the same as Date of First Response? If not, what's the fix for my JQL issue?
Thanks.
"firstCommented" can be thought of as a custom field, although it is not one. It's something you can use in your queries as described at https://scriptrunner.adaptavist.com/4.3.1/jira/jql-functions.html#_dates.
dateCompare does not support that field type "Date of First Response" - there are various issues to get expression and dateCompare to work with more custom field types.
Thanks for the fast response Jamie.
Sad that DateCompare doesn't work with "Date of First Response"/expression field types.
I did some experiments and concluded that "firstCommented" is not the same as "Date of First Response", please correct me if I am wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.