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

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

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.

0 votes



One answer

Permanent link
I found it :

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

it works.

1 vote

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,939

Question asked: Oct 30 '14, 12:26 p.m.

Question was seen: 3,430 times

Last updated: Oct 30 '14, 12:59 p.m.

Confirmation Cancel Confirm