Script Runner - Customer Validator Issue - cfvalues is undeclared.

Tom January 17, 2020

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

 

 

 

 

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer