It's all about the answers!

Ask a question

In RTC 6 is it possible to get the work items data not just links from a query from the REST API


Steve Crespo (152) | asked Jan 11 '16, 5:33 p.m.
In RTC 5 when I did a query from the REST API that looked like https://<rtc-server>:9443/ccm/oslc/queries/_ULpgEA91EeWh4NWJRU5r5Q/rtc I would get back all the work items from the query and all of their JSON.

Now in RTC 6 when I make a request to the REST API (https://<rtc-server>:9443/ccm/oslc/queries/_ULpgEA91EeWh4NWJRU5r5Q/rtc_cm:results) I just get a list of results with a link to the actual work item.

Is there a query parameter or header that I can add that would return the full json for the work items? My process becomes slow when there are a lot of results and I have to first do the request query and then a separate request for each work item in the query.

Accepted answer


permanent link
Donald Nong (14.5k614) | answered Jan 19 '16, 1:31 a.m.
I can still see the same results in my own RTC 6.0 environment. Make sure that you're _not_ using the "OSLC-Core-Version: 2.0" header.
Steve Crespo selected this answer as the correct answer

Comments
Steve Crespo commented Jan 19 '16, 8:02 a.m.

 This works great! Thank you!

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.