Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Get IContributor from UUID

The goal is to get the name of IContributor from the UUID. But I get null with the next code:

String contributorUUID = "_zP_coJleEd-joaYjvz6g2w"

IContributorIdentity contributorIdentity = IContributorIdentity.FACTORY.create(UUID.valueOf(contributorUUID));

IContributorRecordHandle contributorRecordHandle = contributorService.fetchContributorRecordByIdentity(contributorIdentity);

IContributorRecord contributor = (IContributorRecord) contributorRecordHandle.getFullState();

The contributor exists because I have checked with: https://localhost:7443/jazz/resource/itemOid/com.ibm.team.scm.Component/_zP_coJleEd-joaYjvz6g2w?_mediaType=text/XML

But contributor is always null. What is missing?

0 votes



One answer

Permanent link
Try https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ search for UUID with the IContributor item type.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Dec 15 '15, 6:41 a.m.

Question was seen: 3,249 times

Last updated: Dec 15 '15, 6:51 a.m.

Confirmation Cancel Confirm