I am working on creating a workflow validator when transiting a story to Done. I need to require the custom Story Points field to be filled out.
if (issueType=="Story") {
if (hasInput("customfield_10106")) {
return true;
} else {
return false, "Required Field: Story Points.";
}
}
Using SIL Scripts I was able to get this Validator script to work but it works to well. There is a problem, this screen popup to update required fields before moving to next status, but once these required fields are updated even though after updating these required field whenever again we have to move to that transaction again that screen popup even though those required fields are updated.