It's all about the answers!

Ask a question

RQM REST API get initial project area name


Julian Hemm (58616) | asked Jul 26 '16, 3:46 a.m.
Hello,

I try to do the following:
via REST API, I want to get all Testplans of all Project Areas on a Server.
I first get the list of project areas, then iterating over it and read all the testplans.

This works fine, as long as none of the Project Areas has ever been renamed.
Because I need to send a request with the initial project area name, using the current name (as returned by the request for all PAs) fails with response 400.

Question:
Is there any easy way to get the needed project area name?
How can I request artifacts from a project area when the initial name is unknown?

Thank you

4 answers



permanent link
Julian Hemm (58616) | answered Jul 27 '16, 2:24 a.m.
Hi,

thanks for your response.
Using the given URL I'm able to get the alias parsing some stuff.

I was using ..../qm/process/project-areas which does not contain the alias but a lot of other helpful attributes.
So it seems like I have to query both to get all the information?

permanent link
Frank McGrath (242162) | answered Jul 26 '16, 9:14 a.m.
JAZZ DEVELOPER
 For example on a local server, this URI would get the alias (the original name) for all the projects:

https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/projects/


permanent link
Frank McGrath (242162) | answered Jul 26 '16, 9:14 a.m.
JAZZ DEVELOPER
 For example on a local server, this URI would get the alias (the original name) for all the projects:

https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/projects/


permanent link
Ted Mayer (47649) | answered Jul 26 '16, 9:03 a.m.

Hi Julian,

How are you getting the project areas?

The below URI would display the project names and also the project alias of the project areas.

Your answer


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