How to move user(s) to another directory ?

Hello !

After changing some usernames to the login stored in our LDAP for these Jira users, I need to move these users to the "Internal with LDAP Authentication User Directory" to force the control of their password by LDAP.

Groovy plugin has a script to change username but it seems it doesn't have a such one to move user to another directory.

So I've tried to do it directly in the database by changing the value of the columns named "directory_id" in tables cwd_user and cwd_membersihp but when I show the list of the users in Jira, they are still all in the "JIRA Internal Directory" !

2 answers

1 accepted

Hi Philipe

Seems to me that your case is related to the following liks:

https://jira.atlassian.com/browse/JRA-24213

https://answers.atlassian.com/questions/87000/how-to-migrate-users-from-one-directory-to-another-using-sql?page=1#87293

In both ones you have an workaround to change user directory.

Cheers,

Paulo Renato

JIRA currently supports migrating of users from Internal Directory to Internal With LDAP and vice versa. Check the directory configuration administration page. Does that help?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

149 views 1 10
Read article

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