JIRA 6.2.2, ScriptRunner 3.0.16
The following JQL:
issueFunction in dateCompare("'", "created + 3h > Date of First Response")
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?
"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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs