It's all about the answers!

Ask a question

RQM: Is it possible to update a test case with a new template via the APIs?


Brian Lahaie (1081514) | asked Nov 25 '13, 4:59 p.m.
edited Nov 25 '13, 5:33 p.m.
***********************************************************
 <?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 commented 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 commented 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

Be the first one to answer this question!


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.