I'm running into an issue where I am trying to make a field read only using Scriptrunner Behaviours for Jira cloud.
It seems pretty straight forward, I set the script
getFieldById('customfield_12904').setReadOnly(true)
For some reason this is making my field disappear. Anyone else see this type of behavior?