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?
Hi Brian,
I would advise checking if you have any other behaviours defined for that issue that could be hiding the field or any other plugins or automation that could be hiding that field.?
I have just tested in my instance with a select list field and setReadOnly made it read-only as expected.
If you can not identify any other behaviour hiding the field, I would advise raising a support ticket here so that the support team can help you debug this issue further.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.