Go in admin mode.
Lookup a user.
Block the user.
Go to each project of the user (from the user page).
Use “Transfer Project” (under Edit project) to move the project to another name space.
I personally think it’s better to block or disable than to delete the user. Deleting the user deletes all the history including things that might not be transferred when you transfer the project.
One way to do this for the end-user manually is to move projects into groups, then back out of the group to the new owner.
i found the groups API, which can move projects INTO a group, but there is no API to move a project back to an individual user.
I also found ways to use the git protocol, but i have not enough experience to know what will be mirrored or if anything will be lost.
Our task:
We are joining authentication backends and need to migrate users off of the old one, deleting duplicate users. Thus we need to delete lots of users and migrate their projects to a new/other userID. We will need to do this for hundreds of users, thousands of projects. Any idea how to script this?
Cheers!
chris