We use groups heavily to manage our permission model. It is made up of groups to get access to our permissions schemes, and also to lock down transitions in some of our workflows.
Usually, when creating new users, they don't need that many groups to be added, but for some roles, it's necessary for us to add a large number of groups. While the level of control and visibility benefits us greatly, it can be very time consuming to create new users in those roles.
It would be perfect for us if there was a means of applying multiple groups to a new user quickly. If it were possible to copy group memberships to a new user from an existing one, that would work brilliantly. Even if I could enter a comma-separated list of groups into the Edit Groups form, that would work well enough for us.
Currently, it's an open request - https://jira.atlassian.com/browse/CONF-22297
But I implemented something similar using a python script, which takes existing username and new username as input and adds the new user to all the groups same as the existing users. Crowd/JIRA have REST Apis thus it's easy to implement such functionality.
I'd spotted that suggestion earlier, but I thought it was more to do with moving users/groups between directories, rather than group memberships between users. Still probably worth a watch, though.
I'm not a huge scripting wizard (at the moment!) but I'll bear this idea in mind. I'll see what I can do with Python, or maybe see if I can wrap my head around @Adaptavist Script Runner to do it.
The Adaptavist script runner isn't stand alone as far I know, but by python script I meant to have a stand alone script which will the the work for you. But yeah, you can user the script runner to have the groovy script in the post-function of the workflow of an issue. And for that issue have two fields , one having existing username and one having new username and then use a REST call to copy existing one's groups to new one, an example of rest call - https://answers.atlassian.com/questions/9875846
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs