The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Group membership of common users

Rahul Aich [Nagra]
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 Champions.
January 27, 2013

Hi

I am trying project import on jira and came across an issue reg. group memberships.

Say a user did not exist in the destination jira instance, then project import will automatically create the user and assign all group memberships to it.

But , my problem is that there is a user which existed in both source and destination however the group memberships were different on both instances.

As the user already existed jira project import did not assign any group membership to the user when it migrated the project data.

This resulted in having a user who could no longer access the project and perform other functions as he did not have necessary group memberships.

I have hundreds of such common users and manually replicating their group memberships is going to take me a lot of time.

Is there a easy way of assigning the group memberships of such common users?

Rahul

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Naren
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 Champions.
January 27, 2013

How about using the JellyScripts to add these users to their groups. I often use the MS excel VLOOKUP formula and Jelly, which saves a lot of time.

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:AddUserToGroup username="new-user" 
                group-name="new-group"/>
</JiraJelly>