All our users (8000) are in at least two of the following groups jira-developers, jira-users and jira-external-users. When we create the users using LDAP Directory our local membership is lost. We can add the local membership to the LDAP query but no priviledges are granted until the user signs in. This is a pain because we have users all over the world. How can we retain local group member ship?
When you migrate from a version of JIRA before the "embedded crowd" change that was introduced in version 4.3 you have several options. All of those options are explained in great detail here: [http://confluence.atlassian.com/display/JIRA/JIRA+4.3+Upgrade+Guide#JIRA43UpgradeGuide-ChangestousermanagementinJIRA]
If you are switching to the "Full LDAP" option you will lose all your group membership and you will have to recreate it. There are several options on how to manage your new groups:
In both cases I recommend using JIRA's remote API (https://developer.atlassian.com/display/JIRADEV/JIRA+RPC+Services and http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/index.html?com/atlassian/jira/rpc/soap/JiraSoapService.html) to ease the transition. Write a remote api script using the JIRA.getGroup("group-name") to fetch the list of users in each group and write them out to a file in an easily parsable format (i.e. one username per line).
Then perform your upgrade. After the upgrade is complete you'll reload the group membership with another script:
You might want to check out Bob Swift's excellent CLI interface to JIRA if you don't want to spend too much time writing these scripts: https://studio.plugins.atlassian.com/wiki/display/JCLI/JIRA+Command+Line+Interface
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well copy & pasting group membership for 8000 users and 23000 groups is not my idea of fun. So it will definitly have to be a scripted solution. Thanks for the solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WOW! 23,000 groups? That is a crazy number of groups. I thought you had just 3 groups... which would have been easily C&P-able. heh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.