Renamed projects cannot be found through the RTC plain API.
I am using the findProcessArea to locate projects in a webservice which creates defects in RTC. It seems however that I am not able to locate projects which have changed their name. Anyone with a solution for this or am I doing something wrong??
Sample code:
IProcessClientService processClient = (IProcessClientService) API.repo.getClientLibrary(IProcessClientService.class);
URI uri = URI.create(strProjectAreaName.replaceAll(" ", "%20"));
ipa = (IProcessArea) processClient.findProcessArea(uri, null, null);
One answer
See https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ for how to iterate the project areas.
There is a project area alias, that should stay constant, however I don't know any way to find that alias.
Comments
showing 5 of 7
show 2 more comments
Comments
sam detweiler
Oct 14 '15, 7:58 a.m.