I'm looking to make sure all 4 checkboxes are selected before an issue is transitioned. I edit the workflow select the transition and add a "Scripted (Groovy) Validator"
cfValues['Manager Acknowledgements'][0].getValue() == 'Value 1 '
cfValues['Manager Acknowledgements'][1].getValue() == 'value 2'
cfValues['Manager Acknowledgements'][2].getValue() == 'value 3'
cfValues['Manager Acknowledgements'][3].getValue() == 'value 4'
However I am getting an error:
An unknown exception occured executing Validator com.atlassian.jira.workflow.SkippableValidator@3a3029a7: root cause: No such property: cfValues for class: Script1
Do I need to import a library? - JIRA has recognized cfValues for me in script runner previously is there another recognized variable I can use for custom fields?