How can I list the categories in my project area and associated team?
![]()
I'm trying to find a way to get a list of the Categories defined in my project area and the team area associated to each category. I have the IProjectArea, but didn't see any way to get the list of Categories (the Categories tab on the project area) and the team area that is associated to each.
Can someone help? Susan |
One answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jun 14 '13, 4:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Susan,
the code below shows how to do that. You can find the code here @ JazzHub: /** * Print the Categories for a given Project Area * * @param teamRepository * @param projectArea * @param monitor * @throws TeamRepositoryException */ private static void printProjectAreaCategories(ITeamRepository teamRepository, IProjectArea projectArea, IProgressMonitor monitor) throws TeamRepositoryException { IWorkItemClient workItemClient = (IWorkItemClient) teamRepository.getClientLibrary(IWorkItemClient.class); List Comments Hi All, I am also looking for it. Is there shared query/report so that it is easy to run? I created BIRT report to get team list, but data from report which is fetched from COMMON snapshot doesnt match with project area data. |
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.