validators
This is an old revision of the document!
Scripted Validators
Following scripts can be used for scripted validators within the workflow
Verify project name
issue.projectObject.name == "My First Project Name"
Require Value in FIELD2 if FIELD1 = 'Yes'
if ( cfValues['FIELD1']?.value == 'Yes') { if ( cfValues['FIELD2'] ) { return true } else return false } else return true
Require Value in DATEFIELD2 greater than "NOW" if FIELD1 is set
validators.1497554005.txt.gz · Last modified: (external edit)
