It's all about the answers!

Ask a question

Resource URL not working with internal ID in RQM 4.0.6

Don Cooper (1615) | asked Jul 23 '16, 8:32 a.m.
Resource URLs with internal resource IDs don't work.

(1) I put something like https://jazzreporting:9443/qm/service/ 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/ 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/[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.

Accepted answer

permanent link
Don Yang (7.1k2188121) | answered Jul 23 '16, 10:54 p.m.
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/ 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

Your answer

Register or to post your answer.