RTC list managed project areas
3 answers
Comments
Would go something like this ( assuming you've got the environment going ):
IProcessItemService itemService = (IProcessItemService) teamRepository
.getClientLibrary(IProcessItemService.class);
List pAreas = itemService.findAllProjectAreas(null, null);
for (Iterator iterator = pAreas.iterator(); iterator.hasNext();) {
IProjectArea projectArea = (IProjectArea) iterator.next();
// do something e.g.
SystemOut.println(projectArea.getName())
}
yes, but that returns all project areas. I would like to filter to just the ones I have connected to in my workspace (the ones that are marked when I open the manage connected project areas dialog).