Hi,
I have the below snippet of code to ensure "Work Type" field is filled in order for the issue to move to DONE.
def workType = GetWorkType(issue);
if(workType == null || workType.isEmpty())
{
errors.add("Work Type is required to accept this ${issueType}");
}
How do I limit this code to not include RISK issue type alone?
Thank you