It's all about the answers!

Ask a question

How can i set unsigned (root category) to a work item category (server)


benito neto (1667) | asked Oct 30 '14, 12:26 p.m.
Hello,

How can i set unsigned (root category) to a work item category (server)?

I tried this:

List<ICategory> categories = workItemService.findCategories(
                workItem.getProjectArea(), ICategory.FULL_PROFILE, monitor);

but the root category not retrieved.

And  workItemService.findCategory(name) is deprecated.

Also this:

List<string> path = Arrays.asList("unassigned");
        ICategoryHandle category = workItemClient.findCategoryByNamePath(
                projectArea, path, monitor);


Thank you.

One answer



permanent link
benito neto (1667) | answered Oct 30 '14, 12:59 p.m.
I found it :

workItemService.findUnassignedCategory(workItem.getProjectArea(), ICategory.FULL_PROFILE, monitor)

it works.

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.