Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get repository/server URL using RTC server side API?

 Hi all,

I want to fetch server/repository URL using server side Java API, I tried below code but it not works:

repositoryItemService = getService(IRepositoryItemService.class);
IRepositoryRoot root = repositoryItemService.getRepositoryRoot();
System.out.println("Repository URL: "+root.getName());


0 votes


Accepted answer

Permanent link

com.ibm.team.repository.service.AbstractService.getPublicRepositoryURL()

Andrew Ciaz selected this answer as the correct answer

0 votes

Comments

@Ralph Schoon thanks for your answer 

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,947
× 1,700

Question asked: Dec 06 '19, 1:55 a.m.

Question was seen: 1,698 times

Last updated: Dec 07 '19, 4:24 a.m.

Confirmation Cancel Confirm