Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I want to update the Jira User Directory through groovy. I have scriptrunner installed on my instance. I actually want to migrate users from LDAP to internal through a script. Moreover, the password should not change while migrating from Active LDAP directory to Internal Directory.
I don't think you can just "move" a user.
You could create a new user in your internal directory then delete it from the ldap directory. Note that when you do that, users would lose group membership maintained in jira. So your script might also need to manage that.
But I don't think you will be able to store the user's LDAP password in the internal directory. If you could just read a password from LDAP, it would not be very secure.
However, it sounds to me like perhaps you could benefit from using the "internal directory with ldap authentication".
This type of directory won't store the users' password in Jira, but rather send a query via LDAP every time the users attempts to authenticate.
Everything else in the directory is mostly identical to an internal directory (like group membership management etc).
Hello Peter,
Thanks for the help. I got that we have to create the group membership maintained in Jira too through the database after the transfer of the script.
Thank you! This helped a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.