Hi all,
I'm trying to set default comment visibility with ScriptRunner Behaviors.
SRJIRA-2545 says that it's possible with the following script:
def formField = getFieldById("commentLevel")
formField.setFormValue("role:10011")So I tried it: for the comment field for a specific project (all issue types in it):

without success (this is the issue view screen, tried refreshing cache with Ctrl+Shift+R):

Here are the roles that I have, I marked the role ID so that there's no doubt I used the right one in the script:

What am I doing wrong? (it's in a Jira Service Desk project)
Environment:
JIRA Service Desk 3.11.0 (Jira 7.8.0)
ScriptRunner 5.3.9
Tried on:
Google Chrome 65.0.3325.181
Firefox 59.0.2