Is it posiible to change owner of workspace programmactically using JAVA API?
Accepted answer
I'd try com.ibm.team.scm.client.IWorkspaceConnection.setOwnerAndVisibility(IAuditableHandle, IReadScope, IProgressMonitor)
Comments
Note that the password of the user has nothing to do with anything here and there is no Jazz API that could change it.
So how can I change the user with help of IAuditableHandle beacuse I only have userID
Try
IContributor searchUser = (IContributor) teamRepository.contributorManager().fetchContributorByUserId(userToSearch,monitor);
Consider studying https://rsjazz.wordpress.com/