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

RQM Copy Utility: How to duplicate Test Case with different Test Case Template

I am trying to duplicate a Test Case and apply a different Test Case Template. From within RQM if I duplicate a Test Case, it also duplicates all of the sections - I have no option to select a different Test Case Template.
For this reason, I'm attempting to use the command-line method. Below is the latest attempt:

___________________________
SET LOGARTEFACTTYPESPATH=D:/Projects/RQM/Log_Atefacts.txt
SET LOGPATH=D:/Projects/RQM/Log.txt
SET IGNOREARTEFACTLIST=attachment,executionresult,executionsequenceresult,testsuitelog,buildrecord
SET SOURCEURL=https://<server>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectName>
SET DESTINATIONURL=https://<server>:<port>/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Playground

cd /D "C:\Program Files (x86)\Java\jre7\bin"

REM Copy tests
REM  "-tc=testcase/com.ibm.rqm.planning.templates.testcase.template_1375989932726"
java -jar RQMCopyUtility.jar "-s=%SOURCEURL%" "-us=<userName>" "-pws=<userPassword>" "-d=%DESTINATIONURL%" "-ud=<userName>" "-pwd=<userPassword>" "-log=%LOGPATH%" "-i=%IGNOREARTEFACTLIST%" "-a=testcase" "-id=https://<server>:<port>/jazz/web/console/<projectName>#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestCase&id=10060" "-f"
pause

0 votes



One answer

Permanent link
Your RQM Copy Utility command is contains an incorrect -id parameter value.  Instead, it should be the RQM Reportable REST API resource ID (see https://jazz.net/wiki/bin/view/Main/RqmApi#id and https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Usage_Examples). 

0 votes

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
× 12,020

Question asked: Aug 09 '13, 1:44 p.m.

Question was seen: 6,398 times

Last updated: Aug 13 '13, 7:28 a.m.

Confirmation Cancel Confirm