Bug found in ScriptRunner workflow validator.
CURRENTLY
We have built a ScriptRunner validator for our workflow.
The validator, when tested against one of our issues PD-6480 says the issue will pass.
Issue
However, when actually trying to move PD-6480 through the workflow the issue will not pass as the validator fails.
The cause was found to be
issue.customfield_10035.value != ""
It should have been
issue.customfield_10035 != ""
but the test TEST incorrect shows this as failing, when it should be passing.
customfield_10035 is a text field, and does not have a .value attribute, but scriptRunner validates this field as if it does.