Assign groups to users en masse

I need to assign groups to users en masse. A user can have 300 groups and 300 users group 1. Is there any way to do it in JIRA or in thedatabase? My Jira is 7.0 and SQL Server 2014.

Thank you

1 answer

0 votes

It's not nice trying to do it in the database, you'll need to back everything up, shut down JIRA, hack the cwd_group and cwd_membership tables, plus the counter table (I don't know if embedded crowd uses the JIRA counters or its own), and fully understand exactly how they work to get the SQL correct.  If you're not using embedded crowd, that all changes of course.

Users being in 300 groups sounds rather broken too.  I suspect that if you're really using them for permissions, you're going to create performance issues in your JIRA.  Rather than try to replicate a broken set of groups, it might be a good time to evaluate why you've got so many and simplify.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

211 views 6 8
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you