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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.