It's all about the answers!

Ask a question

Get IContributor from UUID


Fran Burgos (12311150) | asked Dec 15 '15, 6:41 a.m.

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?

One answer



permanent link
Ralph Schoon (60.7k33643) | answered Dec 15 '15, 6:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or to post your answer.