It's all about the answers!

Ask a question

get WorkItem from UUID

Martin Dam Pedersen (1352814) | asked Nov 21 '12, 4:01 a.m.

How do I get WorkItem from the UUID on the server.

I'am implementing a RPC service which can only take certain parameters when called from a client(

I am passing a UUID object for a workItem and want to resolve that to a WorkItem instance.

Anyone knows how to do that ?

One answer

permanent link
Martin Dam Pedersen (1352814) | answered Nov 21 '12, 4:39 a.m.

I resolved that myself. A handle is just as good as  the item itself.

Can anyone confirm this is a correct resolution:

IWorkItemHandle workItemHandle = (IWorkItemHandle) IWorkItem.ITEM_TYPE.createItemHandle(workITemUUID, null);

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.