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:

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


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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

158 views 1 17
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