It's all about the answers!

Ask a question

Associate Work Item category to Team Area


Francisco Javier Moreno López (0187) | asked Jun 02 '09, 10:48 a.m.
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.

2 answers



permanent link
Patrick Streule (4.9k21) | answered Jun 03 '09, 8:42 a.m.
JAZZ DEVELOPER
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

permanent link
Francisco Javier Moreno López (0187) | answered Jun 05 '09, 4:56 a.m.
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

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.