It's all about the answers!

Ask a question

server side API : How to fect item handle using UUID?


Andrew Ciaz (473) | asked Jan 07, 4:25 a.m.

 Hi,


I want to fetch project area handle using the project area uuid. Please suggest server side API to fetch item handle.

Accepted answer


permanent link
David Lafreniere (4.4k7) | answered Jan 07, 2:41 p.m.
FORUM MODERATOR / JAZZ DEVELOPER


IRepositoryItemService itemService = getService(IRepositoryItemService.class);
UUID projectAreaUUID = getProjectAreaUUID();
IProjectAreaHandle projectAreaHandle = (IProjectAreaHandle) IProjectArea.ITEM_TYPE.createItemHandle(projectAreaUUID, null);
IProjectArea projectArea = (IProjectArea) itemService.fetchItem(projectAreaHandle, null);

Andrew Ciaz selected this answer as the correct answer

Your answer


Register or to post your answer.