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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,772 views 18 21
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