It's all about the answers!

Ask a question

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


K M (38325051) | asked Sep 10 '14, 2:50 p.m.
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);
    }

One answer



permanent link
Robin Bater (3.4k47) | answered Sep 10 '14, 3:06 p.m.
JAZZ DEVELOPER
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

Comments
K M commented Sep 10 '14, 3:23 p.m.

ver 4.0.7    any java api interface


Kevin Ramer commented Sep 10 '14, 4:47 p.m.

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 


K M commented Sep 11 '14, 4:05 p.m.

it seems to work thanks

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.