I'm fairly comfortable with SR behaviors for Server/DC, but this is my first time using it in Cloud. Ultimately, I want to hide a field based on issue status, but as a first step, I'm attempting to just hide the field at all times. I can get the field to be hidden on the Create screen, but not the View screen. In the behavior configuration I've checked the options for 'On Load' and for the 'Create View' and 'Issue View' screens. The only active code I have is:
getFieldById("customfield_10126").setVisible(false)
This cf is a date picker, but I've also tried a single select list. The project is a company managed project. Per the documentation, I should be able to hide either field type on the both screens, but I can't get the field(s) to hide on the view screen. What am I doing wrong? Or is this a bug?