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

Associate Work Item category to Team Area

Hello,

How can I associate a work item category with a Team Area by programming?

I have several Dev Lines that are concurrently in the time. Each one have one Team Area associated.
When I create the category by programming, by default is associated at the Default Team Area in the first Dev Line, so when I create an Iteration Plan for an Iteration of other Dev Lines RTC fails because the Team Area is associated to other Def Lines.

Basically, I like to reproduce the functionality of the tab Work Item Categories of the Project Area in the Rich Client.

Any help would be appreciated. Many thanks.

0 votes



2 answers

Permanent link
How can I associate a work item category with a Team Area by
programming?

There is currently no public API to do this. Using internal (and thus not
recommended) API, you would do this over the CategoriesManager:

CategoriesManager manager=
CategoriesManager.createInstance(fgAuditableClient, fgProjectArea, null);
CategoryTreeNode root= manager.getRoot();
root.setDefaultTeamArea(defaultTeamArea);
root.setDevelopmentLineTeamArea(otherTeamArea);

In what context would you need this functionality?

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
When I create de project Area, I have to load predefined work items in different categories with a follow-up action. Each category has a different TeamArea associated.

Thank you.




In what context would you need this functionality?

--
Regards,
Patrick
Jazz Work Item Team

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

Question asked: Jun 02 '09, 10:48 a.m.

Question was seen: 6,325 times

Last updated: Jun 02 '09, 10:48 a.m.

Confirmation Cancel Confirm