FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPERJun 02 '20, 7:31 a.m.
I agree, there is no public documentation for how to do that in JavaScript. It is possible using the Java API as explained here: https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.