How to get Team areas List and Process roles list from particular project area using RTC plain java API
Hi Everyone,
My scenario is that I want to get the list of process roles list and team area list of particular project area using RTC plain java API for that I am referring https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/
currently I am getting specific project area from RTC
CLM version 6.0.5
Thank You
2 answers
You have the example up there, what more do you want?
See: How should I ask a question in the Forum if I want to receive useful answers?
public static void teamArea(ITeamRepository repo,
IProjectArea projArea) throws TeamRepositoryException {
List teamAreas = projArea.getTeamAreas();
for (Iterator iterator = teamAreas.iterator(); iterator.hasNext();) {
ITeamAreaHandle handle = (ITeamAreaHandle) iterator.next();
ITeamArea teamArea = (ITeamArea) repo.itemManager()
.fetchCompleteItem(handle, IItemManager.DEFAULT, null);
System.out.println(projArea.getName());
System.out.println(teamArea.getName());
}
}
Using above scenario now I am getting team area also of the specific project area,
I just want to get list of process roles that are available in particular project area