RQM: Is it possible to update a test case with a new template via the APIs?
***********************************************************
<?xml version="1.0" encoding="UTF-8"?><ns2:testcase xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"
....
<ns2:projectArea alias="CLM404_QualityManagement" href="https://<HOSTNAME>:9443/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_usUT0kv3EeOSxbFLpc3S7g"/>
....
<ns2:template href="https://<HOSTNAME>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CLM404_QualityManagement/template/testcase/com.ibm.rqm.planning.templates.testcase.template_1385404204704"/></ns2:testcase>
***********************************************************
When updating the XML above with a different "com.ibm.rqm.planning.templates.testcase.template_<id>" value, and then PUT-ting the XML back on the server, I get a status code of "200 OK". But the template value is not updated when I GET the test case again after I PUT it back.
Comments
Robin Parker
Apr 29 '14, 6:39 a.m.Hi Brian,
I'd also like to know if this is possible - did you ever figure it out?
Many Thanks,
Robin
Brian Lahaie
May 02 '14, 2:31 a.m.Unfortunately, its not possible to update the testcase with a new template via the APIs. Because of my need to do this, I discovered a defect in the API documentation which was corrected via this work item. - https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=100948
Here is the enhancement to provide this functionality - https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=20118