Hi all
I wrote a custom judgment for two multi-choice fields using scriptrunner behaviours, as follows:
def formField = getFieldById(getFieldChanged())
def field = getFieldByName("test")
def value = formField.getValue()
def array = []
if ( 'a' in value){
array << 'text1'
}
field.setFieldOptions(array)
At present, the test field option value has exceeded 500, my script judgment can not take effect in any case, when I create a new multi-choice field, using this string of code, the effect is normal, will the number of option values affect the script running