This is an old revision of the document!
Following scripts can be used for scripted validators within the workflow
issue.projectObject.name == "My First Project Name"
if ( cfValues['FIELD1']?.value == 'Yes') { if ( cfValues['FIELD2'] ) { return true } else return false } else return true