You can now vote for scripts to help people know if they're useful or not. Login or create an account to vote!


Create a User Group in Jira


In addition to creating users in Jira, it is often necessary to create groups when multiple users in your instance need the same permissions or restrictions. This snippet allows you to create a new group and can be modified to bulk add users in Jira.


I am a project manager and I have been assigned a new project. I need to create a group in Jira with all of the team. I can use this snippet to create a new group, then modify this script to add members of the team automatically.


  • Jira Jira (8.0 - 8.14)
  • ScriptRunner for Jira ScriptRunner for Jira (6.18.0)
import com.atlassian.jira.component.ComponentAccessor // the name of the new group final String groupName = "A new Group" ComponentAccessor.groupManager.createGroup(groupName)
Discovered an issue? Report it here

Suggested for you

Appears in these Collections