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

Is there a possibilty to get all test environments with summary and description by one rest api request?

 Hi


I'd like to get the description and summary of all environments with one rest api request. Is that possible?

I tried it with "...qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectarea/configuration", but then I've got all environments, but unfortunately the tag "summary" was empty and description was missing.

Is there another way - besides requesting each environment by identifier?

thanks for help,
dannerl

0 votes


Accepted answer

Permanent link

There are two ways to do that.
1. Append ?abbreviate=false to the request URL.
2. Append ?fields=feed/entry/content/configuration/* to the request URL, which implies (abbreviate=false).

Note that there are two "summary" attributes in the response, and you want to check the <ns2:summary> attribute.

Dani Simon selected this answer as the correct answer

1 vote

Comments

thanks a lot for your help. also thanks for your hint about two summary attributes!

it worked!
Just to sum it up, I modified the request like this: ?fields=feed/entry/content/configuration/(summary|description|name)

thanks and have a nice day,
dannerl

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
× 12,019
× 6,122
× 479

Question asked: Mar 20 '18, 8:00 a.m.

Question was seen: 2,083 times

Last updated: Mar 21 '18, 3:44 a.m.

Confirmation Cancel Confirm