It's all about the answers!

Ask a question

List all ProcessAreas of a repository


S M (8622023) | asked Oct 10 '11, 4:14 p.m.
I want to list all the projects of a repository. I use this code to login:

public class TestDriver {


public static String JAZZ_SERVER = "https://localhost:9443/ccm";

public static void main (String[] args) {

try {
Login login = new Login(JAZZ_SERVER);
ITeamRepository repo = login.loginUser("TestUser", "123456");


} catch (AuthenticationException e1) {
System.out.println(e1.getMessage());
} catch (TeamRepositoryException e2) {
e2.printStackTrace();
} finally {
TeamPlatform.shutdown();
}
}



}


But now I don't know what to do. Can anyone help

One answer



permanent link
Dancy Xia (11632) | answered Oct 11 '11, 7:32 a.m.
I want to list all the projects of a repository. I use this code to login:

But now I don't know what to do. Can anyone help


I saw your post on https://jazz.net/forums/viewtopic.php?p=66448#66448

That is the correct way to get the project area list

Dancy

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.