Welcome to the Jazz Community Forum
Is their a java api into Requirements Management, I wish to list the projects users

I can use the java api to talk to RTC, how do I use it to talk to RM
I login this way to get my team service
private void login(String url, final String id, final String pass) throws TeamRepositoryException {
repo = TeamPlatform.getTeamRepositoryService().getTeamRepository(url);
repo.registerLoginHandler(new ITeamRepository.ILoginHandler() {
public ILoginInfo challenge(ITeamRepository repository) {
return new ILoginInfo() {
public String getUserId() {
return id;
}
public String getPassword() {
return pass;
}
};
}
});
repo.login(MONITOR);
}
I login this way to get my team service
private void login(String url, final String id, final String pass) throws TeamRepositoryException {
repo = TeamPlatform.getTeamRepositoryService().getTeamRepository(url);
repo.registerLoginHandler(new ITeamRepository.ILoginHandler() {
public ILoginInfo challenge(ITeamRepository repository) {
return new ILoginInfo() {
public String getUserId() {
return id;
}
public String getPassword() {
return pass;
}
};
}
});
repo.login(MONITOR);
}
One answer

Depending upon your client version (> V405) there are some javascript extensions
https://jazz.net/wiki/bin/view/Main/RMExtensionsMain
For example in V5 there is an api to find the user details
https://jazz.net/wiki/bin/view/Main/RMExtensionsAPI50#UserDetails
https://jazz.net/wiki/bin/view/Main/RMExtensionsMain
For example in V5 there is an api to find the user details
https://jazz.net/wiki/bin/view/Main/RMExtensionsAPI50#UserDetails
Comments

ver 4.0.7 any java api interface

I have found that the same "attacks" that one can devise for RTC work equally well with RM except that /jts should be in the URL. Ralph Schoon has a wiki that has examples of examining, displaying the project(s) in a repository.
e.g.
https://jazz.net/forum/questions/96284/how-to-get-the-real-time-roles-and-team-information-with-the-latest-changes-in-rtc-server

it seems to work thanks