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

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

 Hi,


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

0 votes


Accepted answer

Permanent link


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

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,927
× 1,699

Question asked: Jan 07 '20, 4:25 a.m.

Question was seen: 1,041 times

Last updated: Jan 07 '20, 2:41 p.m.

Confirmation Cancel Confirm