Hi All
I recently needed to determine the value of a cascade field to automatically assign handlers, which I learned could be done through Scriptrunner, but I found that the script I wrote was not successful,The specific code is as follows
The problem with your code is that you are not reading the name of the option. Casting a single-select to a string is not the right way to do it, but it will work because options have been coded in a way to let it work.
Cascading select options have not, because they can't be. You'll need to use "getName()" to extract the name of the option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.