Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Accepted answer

Permanent link
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

0 votes


3 other answers

Permanent link
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.

0 votes


Permanent link
thanks a lot Donald!

0 votes


Permanent link
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."

0 votes

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?

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Aug 06 '14, 6:57 a.m.

Question was seen: 5,422 times

Last updated: Aug 10 '14, 11:16 p.m.

Confirmation Cancel Confirm