It's all about the answers!

Ask a question

ITeamRepository from UUID


Michael Ron (307) | asked Oct 12 '17, 3:38 a.m.

Hello, how to get ITeamRepository object from UUID in RTC Java API?

Accepted answer


permanent link
Michael Ron (307) | answered Oct 12 '17, 4:09 a.m.

Thanks, I found also that following function allows it:

TeamPlatform.getTeamRepositoryService().getTeamRepository(UUID)

Ralph Schoon selected this answer as the correct answer

Comments
Ralph Schoon commented Oct 12 '17, 4:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Thanks, I updated the post.

One other answer



permanent link
Ralph Schoon (63.1k33646) | answered Oct 12 '17, 3:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you know the item type, you can create an IItemHandle handle from the UUID then  use com.ibm.team.repository.common.IItemHandle.getOrigin() and get the teamrepository. See https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.