Hi
I made two select list(sing choice) custom fields : System1 and System2
I added System1 field from the behavior edit screen and server side script is like below.
def aciField = getFieldById(getFieldChanged())
def aciValue = aciField.getValue()
def selectField = getFieldById("customfield_12451")
selectField.setFieldOptions([null])
if(aciValue.equals('A')) {
selectField.setFieldOptions(['A-1','A-2'])
} else if(aciValue.equals('B')) {
selectField.setFieldOptions(['B-1'])
} else if(aciValue.equals('C')) {
selectField.setFieldOptions(['C-1'])
}
However, it doesn't work. What should I check?