Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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)

java -jar RQMCopyUtility.jar -s=https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -a=template -id=testplan/com.ibm.rqm.planning.templates.testplan.template_12345 -l=importlog.txt

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

0 votes



One answer

Permanent link
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.

0 votes

Comments

Hi Jerry,

Thank you for the useful links, I already tried and got the list og all templates and IDs.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 25 '12, 5:12 a.m.

Question was seen: 5,012 times

Last updated: Sep 25 '12, 9:43 a.m.

Confirmation Cancel Confirm