Hi
I am attempting to create a script listener that will send an email when the following conditions are met:
- Status = In UAT
- Ticket has been In UAT for more than or equal 30 days
I attempted this myself and came up with the following:
(issue.status.name == 'In UAT')&&("issueFunction" in dateCompare("","today +4w < UAT Release Date"))
This doesn't work and keeps reporting the following error:
javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.dateCompare() is applicable for argument types: (java.lang.String, java.lang.String) values: [, today +4w < UAT Release Date]
The variable called UAT Release Date is a custom date field.
Any help on this would be greatly appreciated.
Kind Regards
Adam