Hi All,
I'm trying to get a custom Script Validator to work and keep getting the error cfvalues is undeclared.
Can anyone advise?
Validator if have is below.
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.issue.CustomFieldManager
// Check if Change type is not standard
if (cfValues['Type of Change']?.value != 'Standard') {
// Do some other checks
}
// Do nothing