Using Groovy Script Runner how do I validate Select List (cascading) ?
java.lang.NullPointerException: Cannot invoke method contains() on null object at Script167.run(Script167.groovy:1) 2018-04-17 12:23:32,937 ERROR [utils.ConditionUtils]: Script follows: cfValues["Support Type"].value.contains('Bug Report')
My field is a custom field cascading select list
It is a static compilation error. Just run your script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I don't get is that:
cfValues["MyType"].value.contains("Checkout")
is wrong for Groovy.
No such property: value for class
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.