are you refering to LDAP or JIRA directory? For the former, you can go to admin -> Users -> User Directories and just synchronize the LDAP to current.
I am not too sure how moving the user from one directory to another would make the user unable to login unless that user has 2 different passwords in these 2 directories.
ah one of those icky, hidden ones. I had few of those (actually one of them is my account in ldap which I dont even used). The only way I end up doing is to go to the database directly and 'erase' the previous footprint directly. You have to do several sql against cwd_user (to find user id, directory_id (1 = jira, other numbers meaning ldap or non-jira)) and cwd_membership. You shouldnt delete the user as that will mess up your history and such (and probably give you errors later on), so I would suggest deleteing the record in existing cwd_membership for that particular user.
Of course, strongly suggest you back up the data and doing this off hours if you are doing this in production.
There is probably another way that someone can chip in, but so far, that's how i got around with it since it seems like a dangling situation to me.
Also tried this way but no luck..
CrowdService crowdService = (CrowdService) ComponentManager.getInstance().getCrowdService();
User jiraUser = crowdService.getUser("abury"); UserTemplate template = new UserTemplate(jiraUser); template.setDirectoryId(5); crowdService.updateUser(template);
Good Day, Bad bad traffic, not sure why!!!! 1/2 hour commute took me 2 hours today 🤯 What helped me is that I kept browsing LinkedIn until...
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!
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