Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Possibility to move group members from one group to another in cloud

Baris Sehitoglu
Contributor
April 26, 2022

Hi 

I'm grooming my cloud my Groups, I have multiple groups and I want to merge them and put it  in a group to another group. 

How can I achieve this in Bulk, is this possible ?

Regards

Baris

1 answer

1 vote
Justus Mueller
Contributor
April 26, 2022

Heya,

The following would be my take. Interested to hear what others suggest :)

You could try using the User provisioning REST API to bulk update (The User provisioning REST API REST API (atlassian.com)). I'd recommend trying this in a test instance first since you will be using PUT

  1. Use GET /scim/directory/{directoryId}/Groups to get a list of all groups where in the resources array from the response you can get a list of all ID's
  2. Use PUT /scim/directory/{directoryId}/Groups/{id} to bulk change the members Scim group using an array of all the user Id's you want in said group as part of the PUT request

Please do let me know if you would like any further clarification!

Regards,
Justus

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2022

That's pretty much the answer I would have given if you hadn't got there first!

There is no "move", it's "add it to the new group, remove it from the old", and there's nothing built into Jira to do this en-masse.  I too would recommend a look at the REST API

Like Justus Mueller likes this

Suggest an answer

Log in or Sign up to answer