RQM REST API - linked defects and TCR history
Accepted answer
Use the "historyUrl" to get the history (of any resource in RQM actually, not just TCR).
https://jazz.net/wiki/bin/view/Main/RqmApi#historyUrl
The "calmlinks" parameter is also mentioned in the same document.
https://jazz.net/wiki/bin/view/Main/RqmApi#calmlinks
Here are other references to the "calmlinks" parameter. The difficult part is to figure out that the defect is part of the CALM integration.
https://jazz.net/forum/questions/56634/query-rqm-for-plan-items-associated-with-test-case-via-rest
http://www-01.ibm.com/support/docview.wss?uid=swg21468681
https://jazz.net/wiki/bin/view/Main/RqmApi#historyUrl
The "calmlinks" parameter is also mentioned in the same document.
https://jazz.net/wiki/bin/view/Main/RqmApi#calmlinks
Here are other references to the "calmlinks" parameter. The difficult part is to figure out that the defect is part of the CALM integration.
https://jazz.net/forum/questions/56634/query-rqm-for-plan-items-associated-with-test-case-via-rest
http://www-01.ibm.com/support/docview.wss?uid=swg21468681
3 other answers
One additional question: what roles does user have to have to get response for history? I have my user set as tester, testlead, architect, testmanager, labmanager and still getting
"CRJAZ1316E The user \"CLOUDAS@xx.xxx.com\" does not have permission to read items that have the TeamArea access type."
"CRJAZ1316E The user \"CLOUDAS@xx.xxx.com\" does not have permission to read items that have the TeamArea access type."
Comments
I'm not aware that separate permission is required for retrieving history of an artifact. Also, without context, a role means nothing because it can be customized to have different permissions in different projects. I'm curious why "TeamArea" appears in the error message. What exactly were you trying to retrieve? Is team area enabled in your project? Is the user able to see the history in the Web UI?