It's all about the answers!

Ask a question

Setting WorkItem Category


Gabriel Galvão (3189) | asked Apr 16 '12, 11:08 a.m.
Ok, so I know there is a method called setCategory

The thing is: where can I fetch the ICategoryHandle objects from?

One answer



permanent link
Gabriel Galvão (3189) | answered Apr 16 '12, 2:51 p.m.
Ok, so I know there is a method called setCategory

The thing is: where can I fetch the ICategoryHandle objects from?


You can fetch the categories using this:

IWorkItemServer workItemService = getService(IWorkItemServer.class);

List<ICategory> listaCategorias = workItemService.findCategories(sourceworkItem.getProjectArea(),ICategory.FULL_PROFILE,monitor);

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.