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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.