Hello,
when I use the following code to reset child option in cascade select list is not working.
Could you help me?
Best regards.
_________________________
I checked with:
def fieldConfig = customField.getRelevantConfig(issue)
def options = optionsManager.getOptions(fieldConfig)
def parentOption = options.find {it.value == parentValue}
def childOption = "none"
cfModule.setFormValue(parentOption.optionId, childOption )
And
def fieldConfig = customField.getRelevantConfig(issue)
def options = optionsManager.getOptions(fieldConfig)
def parentOption = options.find {it.value == parentValue}
def childOption = null
cfModule.setFormValue(parentOption.optionId,childOption )
Hi @Bernd Anderer,
you can use this
def field = getFieldById(getFieldChanged())
getFieldChanged() refers to the field Id that the server side script is attached to
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.