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

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.


0 votes



3 answers

Permanent link

 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;
}
} }

0 votes

Comments

 I believe by "REST calls", ast java is asking for an HTTP API call, rather than a java API call.

Hello Islam,

Thanks for your response.

As i had mentioned I have already knew the way how to fetch using RTC API's and Rest calls using UUID.

But I had asked whether any other way to fetch it using by its (PA/TA) name.


Permanent link

TestComment

0 votes


Permanent link

Hello All,

I had found the answer for my question.

It has been mentioned in the below link,

https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI

In this link how to fetch those details using its name and other fields.

Thanks.


0 votes

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
× 479
× 457
× 137

Question asked: Aug 16 '17, 5:22 a.m.

Question was seen: 3,428 times

Last updated: Aug 21 '17, 3:14 a.m.

Confirmation Cancel Confirm