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

RQM REST API get initial project area name

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

0 votes



4 answers

Permanent link

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.

0 votes


Permanent link
 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/

0 votes


Permanent link
 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/

0 votes


Permanent link
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?

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
× 10,930

Question asked: Jul 26 '16, 3:46 a.m.

Question was seen: 4,294 times

Last updated: Jul 27 '16, 2:24 a.m.

Confirmation Cancel Confirm