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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
Join discussion

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