It's all about the answers!

Ask a question

How to get the workitem type programmatically?


vinitha dsouza (75737) | 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 (55.3k23642) | 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.