It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,935 views 8 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you