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.
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
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