RQM REST API - linked defects and TCR history
Hey
I can't find any reference on how to get two items from subject above: defects that were linked to TCR and its history. Any thoughts on that? fyi 4.0.3 is the version that I have. thanks, Piotr |
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 Piotr G selected this answer as the correct answer
|
3 other answers
found an answer to get defects included in reposnse - ?calmlinks-true at the end of URL. Still looking for a way to get TCR history.
|
|
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." Comments
Donald Nong
commented Aug 10 '14, 11:16 p.m.
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?
|
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.