It's all about the answers!

Ask a question

How to get the workitem type programmatically?


vinitha dsouza (14722134) | asked Jun 19 '15, 8:26 a.m.
Hi team
i am working on RTC client.

how can i fetch the workitem type programmatically ?

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jun 19 '15, 8:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

IWorkItemCommon workItemCommon (IWorkItemCommon) teamrepository.getClientLibrary(
IWorkItemCommon.class);
 IWorkItemType wiType = workItemCommon.findWorkItemType(
workItem.getProjectArea(), workItem.getWorkItemType(), monitor);

Comments
Ralph Schoon commented Jun 19 '15, 8:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 There are many examples and links to this kind of stuff in this blog: https://rsjazz.wordpress.com/

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.