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());
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Dec 06 '19, 10:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER com.ibm.team.repository.service.AbstractService.getPublicRepositoryURL() Andrew Ciaz selected this answer as the correct answer
|
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.