Hi,
We wrote small script using behaviour which is working on create view but not working on transition view, ever after enabling New work transition experience.
Any help on this, do we need to do any other changes
const firstField = getFieldById('customfield_17808');
const secondField = getFieldById('customfield_13445');
const changedField = getChangeField();
switch (changedField.getName()) {
case 'Field Name':
switch (changedField.getValue().value) {
case 'ABC':
secondField.setOptionsVisibility(["14761","14764"], false);
secondField.setOptionsVisibility(["17624","17625"], true);
break;
case 'XYZ':
secondField.setOptionsVisibility(["17624","17625"], false);
secondField.setOptionsVisibility(["14761","14764"], true);
break;
}
break;
}
Thank you in advance.