I've already discovered how to add one user sometimes in Jira Cloud using API, but now I want to know how to add more than one at the same time using API to speed up the creation of new groups Does anyone know how to do it?
Hello @André Felipe Rodrigues Lopes ,
If you are looking into a marketplace application for this use case, Power Scripts offers the solution you need. With functions like admAddUserToGroup
, you can easily add an existing user to a group. You can also create new groups with admCreateGroup
or new users with admCreateAccount
. Using those you can create a script to perform these actions in bulk for a list of users/groups.
Hope it helps!
Anna
Hi @André Felipe Rodrigues Lopes
To add multiple users to a group in Jira Cloud via the API, you need to make multiple API calls. At the moment, the Jira Cloud REST API does not support adding several users to a group in a single call.
However, you can automate this process by writing a script that loops through your list of users, adding each one to the group individually.
While there are alternative methods that can help you achieve your goal without deep scripting knowledge, the simplest method involves writing a script.
Alternative Methods:
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.