Getting deleted test cases via the API
I'm using the RQM api to update a separate database with test case information.
I use the API call
http://RQMSERVER:9080/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CA+MMIS+Takeover/testcase
to initially load my database. Then I use the following call to update the database with testcases that have changed since the last update:
http://RQMSERVER:9080/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CA+MMIS+Takeover/testcase?modifiedSince=2011-05-16
This seems to work fine, except that I'm not being notified when test cases are being deleted from RQM. Is there any way to query which test cases were deleted since a certain date?
I'm using RQM 2.0
I use the API call
http://RQMSERVER:9080/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CA+MMIS+Takeover/testcase
to initially load my database. Then I use the following call to update the database with testcases that have changed since the last update:
http://RQMSERVER:9080/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CA+MMIS+Takeover/testcase?modifiedSince=2011-05-16
This seems to work fine, except that I'm not being notified when test cases are being deleted from RQM. Is there any way to query which test cases were deleted since a certain date?
I'm using RQM 2.0
One answer
I'm unaware of a way to do this in RQM 2.x, but in 3.x there is a way to list deleted artifacts for a given type. So you can see which artifacts have been deleted and who deleted them. Although I don't believe you can specify a date to show only artifacts deleted on/after that date. Here's a link to what is termed the artifact history URLs:
https://jazz.net/wiki/bin/view/Main/RqmApi#historyUrl
https://jazz.net/wiki/bin/view/Main/RqmApi#historyUrl