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

Transfer RQM v2.x (Server A) projects to RQM v3.x (Server B) and retire Server A??

We have 2 different servers e.g: Server A and Server B.

Server A is currently on RQM 2.x (/jazz)
Server B is on RQM 3.0.1.1 (/qm) which has pre-existing projects

We want to migrate data from Server A to Server B and Data includes:
- Test Plan
-Test data
- Test Case
-Test suite
-Test Keyword
-Test Script

and perhaps retire server A once the transfer of projects from Server A to Server B is complete..
We planned the following approach:-

a. On server A : Upgrade and migrate RQM v2.x to RQM v3.0.1.1(/jazz)
b. Use copy utility to migrate project artifacts from "RQM v3.0.1.1(/jazz)
-- Server A" to "RQM v3.0.1.1(/qm) -- Server B".
But b. would fail since the context roots are different..

Any other approach that can be tried??

0 votes


Accepted answer

Permanent link
This error is unrelated to different context roots between the source and destination servers.

I believe you running into Copy Utility does not support spaces in the project area alias for PUT/POST requests. (57659), since the project area alias (newTOproject (Quality Management)) contains unencoded spaces causing the PUT request to the destination server to fail.

Please try using the RQM Copy Utility in https://jazz.net/downloads/rational-quality-manager/milestones/4.0.3M4?p=allDownloads.  Note, you will have to add the resources that don't supported GET/PUT operations in RQM 3.0.1.2 (e.g. channel - see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op) to the -ignoreTypes parameter (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference).
Sunil Kumar R selected this answer as the correct answer

0 votes

Comments

Thank you, I tried the following:-

a. RQM 3012 copy utility
 -- Yes as you indicated, I tired copying between 2 non-CLM projects i.e., without text "(Quality Management)" and it worked fine.

b. RQM 403 M4 copy utility also shows the same behavior as above..

Is there a copy utility which can help copy test artifacts between project areas with "space" char in them?

BR, Sunil

Unless it's a new defect or you are invoking the RQM 3.0.1.2 Copy Utility, this should work.  Can you reconfirm and post your Copy Utility log?

 I re-tried with RQM 403M4 copy util and with the command below..


C:\S\Softwares\RQMCopyUtil403M4>java -jar RQMCopyUtility.jar -version
RQM Copy Utility, version: 0.9.5_3_0

java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt 

But it failed.. Here is the mig log : ftp://ftp.emea.ibm.com/fromibm/pmr/74428,999,744/74428.999.744.importlog_tryn.txt

Br, Sunil


Hi Sunil,

You missed the following step:

Note, you will have to add the resources that don't supported GET/PUT operations in RQM 3.0.1.2 (e.g. channel - see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op) to the -ignoreTypes parameter (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference).

To resolve the problem, add the -ignoreTypes=channel parameter to the RQM Copy Utility command.

1 vote

Or maybe just the artifact types that you want to copy:
-a, -artifactType=<artifactType1>,<artifactTypeN> 


Example: java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt -a=testplan,testcase

1 vote


2 other answers

Permanent link
Yes, this will work despite different the public URIs of the source and destination servers.

0 votes

Comments

Thank you Paul,

Agreed that the copy utility would work across different public URI's but how about the different context roots of the 2 CLM v3.x ?
We had tried this recently using the RQMCopyUtility but it failed due to different context roots (/jazz on first and /qm on second)


Permanent link
Hi Sunil,

The public public URI includes the context root so this should work.  Where the context roots correct in the -s/-d parameters?  If so, please attach the Copy Utility output/log.

0 votes

Comments

 Paul, I tried copying between RQM 3012 project Area on Server A with "/jazz" context root and RQM 3012 project area on Server B with "/qm" context root and it failed..


Here is the command used..
==========================
java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt
==========================


So it seems the copy util does not work across contexts (jazz to qm / qm to jazz) : Can u pls verify?

BR; Sunil

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,036

Question asked: Apr 26 '13, 7:50 a.m.

Question was seen: 5,404 times

Last updated: May 05 '13, 2:19 a.m.

Confirmation Cancel Confirm