More problems using the copySettings script in RQM 4.0.5
Hi,
we want to use copySettings.bat to update projects with the latest test environment settings. To do so two projects were prepared, one with additional Categories and so on, the other was empty. Then I executed cd /d D:\pathpathpath\server\conf\qm\tools\projectSettings copySettings.bat /SS https://alias.company.com:9443/ /SU admin /SP *** /SA PropertiesCopySource /DA PropertiesCopyTargetand got the result Looks like a success story but the settings weren't copied, no Categories etc Comparing the mentioned files the category name did not show up in either of them. What did I wrong? best regards Danny
|
Accepted answer
Matthieu Leroux (657●1●6●14)
| answered Mar 28 '14, 10:15 a.m.
JAZZ DEVELOPER edited Mar 28 '14, 10:18 a.m.
Hi Danny,
All the copysetting bat file does is to build a rest call and use CURL to perform a HTTP GET and PUT. To troubleshoot this issue, I would suggest that you make a copy of the bat file and edit it to comment, towards the end of the file, the line 'del %SETTINGS_FILE%' Then you will be able to verify the content of the file being 'PUT' to the target project: C:\Users\admin\AppData\Local\Temp\2\settings.txt NOTE: from a test I made on my local server, it looks like if you are using a reverse proxy and the port is not part of the public URI, CURL seems to have some issue getting the settings Alternatively, you could try to copy the settings outside of the copysetting utility by: 1- do a get on: https:// alias.company.com:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/project/PropertiesCopySource/settings 2- save the response 3- do a put to: https:// alias.company.com:9443 /qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/project/PropertiesCopyTarget/settings I hope this helps Matthieu Danny Müller selected this answer as the correct answer
Comments
Krzysztof Kaźmierczyk
commented Mar 28 '14, 4:04 p.m.
Hi Matt,
Hi Matt,
Hello Danny, I am not sure what category you are referring to, to the best of my knowledge, the properties that are copied over to another project are those in the "Manage project properties".
ok I was able to copy at least quality objectives. Also Matt was able to copy all settings.
Danny Müller
commented Apr 01 '14, 4:22 a.m.
Let us concentrate on the categories for now.
1
Hello Danny,
Krzysztof Kaźmierczyk
commented Apr 01 '14, 4:54 a.m.
Hi Danny,
Danny Müller
commented Apr 01 '14, 5:20 a.m.
Hi Matt and Christoph,
showing 5 of 8
show 3 more comments
|
One other answer
Hi Dany,
You concern is valid. I have created already RQM defect to correct documentaiton: https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=109972 |
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.
Comments
Hi Danny,
I believe that there was already the same question on forum. Check this: https://jazz.net/forum/questions/64295/rqm-copy-utility-and-categories.
Here is link to RQM enhancement to copy categories: https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=51870
Let us know if this is an answer on your question.
Thank you for the fast response! I saw at least five other posts with related issues and read them all.
In version 4.0.6 and 5.0 the documentation states the categories will be copied:
https://jazz.net/help-dev/clm/topic/com.ibm.rational.test.qm.doc/topics/c_setup_new_project.html
So chances are that either the documentation or the application has a defect...