It's all about the answers!

Ask a question

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


benito neto (1657) | 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 (1657) | 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.