It's all about the answers!

Ask a question

list WorkItem categories/types API


Igor Zelmanovich (62) | asked Sep 25 '08, 6:36 a.m.
I am looking for API allows to list WorkItem categories/types.

I found such API but not public.
com.ibm.team.workitem.ide.ui.internal.aspecteditor.type.TypeManager

is there some public analog?

One answer



permanent link
Patrick Streule (4.9k21) | answered Sep 25 '08, 10:07 a.m.
JAZZ DEVELOPER
I am looking for API allows to list WorkItem categories/types.

I found such API but not public.
com.ibm.team.workitem.ide.ui.internal.aspecteditor.type.TypeManager

is there some public analog?

Take a look at IWorkItemCommon:

findCategories(IProjectAreaHandle projectArea, ItemProfile<ICategory>
profile, IProgressMonitor monitor)

findWorkItemTypes(IProjectAreaHandle projectArea, IProgressMonitor monitor)

Regards,
Patrick,
Jazz Work Item Team

Comments
Susan Hanson commented Nov 20 '12, 1:41 a.m.

What is an ItemProfile<ICategory>?  I have the project area handle and progress monitor already.

Susan


kevin du commented Apr 17 '13, 11:41 a.m.

ICategory.FULL_PROFILE

Your answer


Register or to post your answer.