It's all about the answers!

Ask a question

RQM REST API - linked defects and TCR history

Piotr G (334) | asked Aug 06 '14, 6:57 a.m.

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.


Accepted answer

permanent link
Donald Nong (14.5k414) | answered Aug 07 '14, 12:01 a.m.
Use the "historyUrl" to get the history (of any resource in RQM actually, not just TCR).

The "calmlinks" parameter is also mentioned in the same document.

Here are other references to the "calmlinks" parameter. The difficult part is to figure out that the defect is part of the CALM integration.
Piotr G selected this answer as the correct answer

3 other answers

permanent link
Piotr G (334) | answered Aug 08 '14, 10:14 a.m.
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 \"\" does not have permission to read items that have the TeamArea access type."

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?

permanent link
Piotr G (334) | answered Aug 07 '14, 10:36 a.m.
thanks a lot Donald!

permanent link
Piotr G (334) | answered Aug 06 '14, 11:09 a.m.
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.

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.