Hi,
I would like to know if there is the possibilit to show/hide a custom field depending on the selection of an Insight Object.
I have used the below code which it meant to work for 2 custom fields but it doesn't apply with an Insight Object
def resolutionField = getFieldById("customfield_11122")
def fixVersionsField = getFieldById("customfield_11127")
if ("customfield_11122" == "Order (ITSM-19529)") {
fixVersionsField.setRequired(true)
fixVersionsField.setHidden(false)
}
else {
fixVersionsField.setRequired(false)
fixVersionsField.setHidden(true)
}
Any help will be appreciated.
Thanks