When resolving incidents I require users to select one of 7 close codes but when I have a ticket flagged as 'master' I want to have only one close code.
I've tried using an onChange script to remove the unwanted options when the master checkbox is set to true, and this works great (if newValue = true then 'removeOption') but if the flag is subsequently turned off I tried using the addOption to recover the removed options, but this doesn't take into consideration that my user might be using a different language...
Is there a way to toggle closed codes as available / unavailable instead of removing them and then adding them or should I forget about this and instead script the resolve UI action to check for close code and remind users to only use the one I want?