It's all about the answers!

Ask a question

How do I get the iteration of a TCER via the REST API?


Jochen Staack (551120) | asked Apr 30 '15, 4:23 a.m.
Hi,

I want to get the iteration that is set for a TCER via the REST API. The xml answer when getting the information about the TCER does not include the iteration!

Thanks!

Regards
Jochen

Accepted answer


permanent link
Ara Masrof (3.2k15) | answered Apr 30 '15, 2:28 p.m.
JAZZ DEVELOPER
edited Apr 30 '15, 2:32 p.m.
 Jochen
The XML returned from the API for a TCER should included a link to the Iteration
For example: Here is my TCER with an Iteration selected
Iter

The corresponding XML will include the link to the Iteration

href="https://Host:Port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA1+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:12"/><ns2:testphase href="https://Host:Port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA1+%28Quality+Management%29/testphase/urn:com.ibm.rqm:testphase:29"/><ns2:configuration href="https://Host:Port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA1+%28Quality+Management%29/configuration/TE27"/></ns2:executionworkitem>
 
The above URL maps to the Iteration 

<ns3:identifier>https://Host:Port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA1+%28Quality+Management%29/testphase/urn:com.ibm.rqm:testphase:29</ns3:identifier><ns3:title>New Iteration</ns3:title><ns3:description/><ns5:owner>unassigned</ns5:owner><ns2:expectedTotalPoints>0</ns2:expectedTotalPoints><ns2:expectedDefects>0</ns2:expectedDefects>

Ara 
Jochen Staack selected this answer as the correct answer

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.