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

How to Get all List of catagories in a project by using server api?

I had created a project and in that I had category now I need to get all the category .I am able to get the category of a particular work item by using workitem.getcategory
For Example: A,B,C are category.
For A we have child category also.
My Question is How to get all categoryes present in a project? and How to get Its child categores too?
Thanks

0 votes


Accepted answer

Permanent link

 com.ibm.team.workitem.common.IWorkItemCommon.findAllCategories(IProjectAreaHandle, ItemProfile<ICategory>, IProgressMonitor) provides all categories


 com.ibm.team.workitem.common.IWorkItemCommon provides additional nethods to find categories.

Pavan M selected this answer as the correct answer

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

Question asked: Mar 04 '20, 6:28 a.m.

Question was seen: 600 times

Last updated: Mar 04 '20, 8:46 a.m.

Confirmation Cancel Confirm