Copy testplan or testcase templates to new created project are
It there another way of copying templates of testplan and testcase between project areas then by using CopyUtility tool?
If I have to use CopyUtility tool how do I find the id of the template I want to copy ot the new created project area?
for example:
Copying a template: (Note that template ids are of the form testplan/<id> or testcase/<id>, depending on the template type)
How to find out what is the id nummber I have to place instead of 12345 from the example above id=testplan/com.ibm.rqm.planning.templates.testplan.template_
Thanks
One answer
Are you familiar with the Mozilla Poster Add-on? You can find out about how to use it with the RQM REST API feeds here: https://jazz.net/wiki/bin/view/Main/RQMUsingPoster.
In general, to get a list of all the templates (and their ids), you'd use a GET on something similar to this:
https://myServer:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProj/template
And if you're looking for the template associated with a given artifact, you'd use a GET on something like this:
https://myServer:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProj/testcase/urn:com.ibm.rqm:testcase:1 (which would give you the details for test case ID#1). There is a <template... /> tag toward the end of the returned data.
In general, to get a list of all the templates (and their ids), you'd use a GET on something similar to this:
https://myServer:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProj/template
And if you're looking for the template associated with a given artifact, you'd use a GET on something like this:
https://myServer:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/myProj/testcase/urn:com.ibm.rqm:testcase:1 (which would give you the details for test case ID#1). There is a <template... /> tag toward the end of the returned data.