It's all about the answers!

Ask a question

RTC 5.0 Java API Serch UUID from UserID


HIROAKI JOSAKO (47430) | asked Aug 08 '16, 11:00 p.m.
By TimesheetEntry of the person in charge to get as UUID, you can not be sure who was working.
Is there a way to get the UUID from UserID?

Example
Entry:
 TimeCode: Testing
 TimeCodeID: timecode.literal.l5
 WorkType: defect
 Date: 2016/05/13 12:00:00 JST
 HoursSpent: 1.0
 TimeSpent: 3600000
 Creator ID: [UUID _6pli4IoWEeGmn6bWfGPmVg] <---Who????

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Aug 09 '16, 2:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 09 '16, 2:09 a.m.
You can try to recreate the IContributorHandle like explained here https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ from its UUID and resolve the handle.
HIROAKI JOSAKO selected this answer as the correct answer

Comments
HIROAKI JOSAKO commented Aug 09 '16, 4:56 a.m.

Thanks! Ralph

I try,the call the "IContributor" for the instance and getuser method

If I can not understand, we will post the source to this ticket.


HIROAKI JOSAKO commented Aug 26 '16, 5:29 a.m.

Tried a result, it was able to successfully implement.
Thanks, multiple users, registration of "did the same work" is now available.
Thank you

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.