This is what I have written in validation script of Behaviors Plugin of jira
FormField srcd = getFieldByName("SIS Tech Review Completion Date")
FormField srsd = getFieldByName("SIS Tech Review Start Date")
String compdate = srcd.getValue()
String startDate = srsd.getValue()
if (compdate < startDate){
srcd.setError("error")
}Once I put "compdate < startDate" in JIRA field of the ticket , suddenly JIRA field becomes non-editable. I am not sure how can I inform User about this validation with message :
"SIS Tech Review Completion Date should be greater than SIS Tech Review Start Date"