Is there anyway to fetch PA/TA details using it's name via REST calls?
![]() Hello Team,
I would like to fetch the project area and team area information's using it's names.
I have already know the way using RTC Api's and UUID's in Rest calls.
But is it possible to fetch it by using it's name or path?
Please let me know your opinion.
Thanks in advance.
|
3 answers
![]() given that paName is the Project Area Name and monitor is the progress monitor
IProjectArea area = null;
List areas = service.findAllProjectAreas(IProcessClientService.ALL_PROPERTIES, monitor);
for (Object anArea : areas) {
if (anArea instanceof IProjectArea) { IProjectArea foundArea = (IProjectArea) anArea; if (foundArea.getName().equals(paName)) { area = foundArea; System.out.println("PA found: " + paName); break; } } } Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I believe by "REST calls", ast java is asking for an HTTP API call, rather than a java API call. Hello Islam,
|
![]() TestComment |
![]() Hello All,
|