ScriptRunner Cloud cannot directly set Group Picker fields. Atlassian blocks this for security reasons — scripts can’t assign Jira groups.
What are your expectations around your question?
The function you want to trigger in Script runner is not allowed, as this is blocked by Atlassian.
I ran into the same limitation while testing this.
From what I found, ScriptRunner Cloud can't directly populate Group Picker custom fields. This appears to be an Atlassian Cloud platform restriction rather than a ScriptRunner limitation, apps and scripts aren't permitted to assign Jira groups through the available API for security reasons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.