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

Resource URL not working with internal ID in RQM 4.0.6

Resource URLs with internal resource IDs don't work.

(1) I put something like https://jazzreporting:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/HP+Master+Project+V2/testplan/urn:com.ibm.rqm:testplan:6 in RESTClient and the status code is 200 but it returns nothing in the Response Body Preview. It just sits there with "Loading ..." displayed.

(2) And if I use a field query string like https://jazzreporting:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/HP+Master+Project+V2/testplan?fields=feed/entry/content/testplan/urn:com.ibm.rqm:testplan:6 it returns ALL test plans.

(3) The only way I can successfully get just one test plan is by filtering on the test plan title.
https://jazzreporting:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/HP+Master+Project/testplan?fields=feed/entry/content/testplan[title='HP Master Test Plan']/*

According to everything I can find on the net about this (1) and (2) should work but they don't.

Also, the data configuration layer depends on (1) working. If it doesn't then you can't use that functionality.

0 votes


Accepted answer

Permanent link
I tested with v4.0.6 RQM using the one in (1) and it works for me(I used Poster and set Header as accept=application/xml). I notice that it may take a bit of time to show the response if the project itself has a large number of artifacts.
You may want to try with another project are with less artifacts and see what is going on,
If you run https://jazzreporting:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/HP+Master+Project+V2/testplan/urn:com.ibm.rqm:testplan:6 in a browser, it should go to the test plan (id as 6) directly.

For 2) it seems to me it is expected result because field query does not support id property but title or description hence (2) will return all test plans because internal id part is ignored and 3) returns the right plan as it is supported.
Don Cooper selected this answer as the correct answer

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,939
× 480
× 218
× 137

Question asked: Jul 23 '16, 8:32 a.m.

Question was seen: 2,304 times

Last updated: Jul 24 '16, 4:33 a.m.

Confirmation Cancel Confirm