Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Setting WorkItem Category

Ok, so I know there is a method called setCategory

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

0 votes



One answer

Permanent link
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);

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,998

Question asked: Apr 16 '12, 11:08 a.m.

Question was seen: 5,044 times

Last updated: Apr 16 '12, 11:08 a.m.

Confirmation Cancel Confirm