...
make the field read-only on workflow transition
make the field hidden on the workflow transition
make the field read-only dependent on the user role or group
make a field hidden dependent on the user role or group
Steps
Click the Cog in the top navigation menu to open the Administration menu and select Scriptrunner.
Select Behaviours. Now you can view and edit existing behaviours. See Scriptrunner documentation for more tips on creating behaviours.
Next, find your STAGIL custom field in the Add field drop-down.
Select the necessary option: hide or make the field read-only.
Apply the required condition and Save.
...
Scriptrunner offers the following conditions to make STAGIL field read-only or hidden:
...