How to copy everything related to a Test Plan in a single RQMCopy operation?
We're trying to copy all data associated to a Test Plan from one RQM PA to another. (RQM v5.0)
The RQMCopyUtility though, when specifying only that TP id, copies Test Cases, Test Scripts and Test Suites along with the TP, but doesn't carry TCERs/TSERs/TERs.
Is there a way to carry it all in a single copy query?
Or, if we have to run individual queries for the execution artifacts, is there a way to make it link to the previously copied data? (right now, running it for a specific TCERs copies the Planning and Construction data all over again, duplicating it)
Additional info
- Both source and target are in the same PA, so we tried the GUI's "copy" function, but that doesn't copy the execution data either
-
Attempted queries:
java -jar RQMCopyUtility.jar -s="source path" -d="target path" -us="user" -pws="password" -l="logname" -a=testplan -id=urn:com.ibm.rqm:testplan:267 ---> doesn't copy Execution data - java -jar RQMCopyUtility.jar -s="source path" -d="target path" -us="user" -pws="password" -l="logname" -a=executionworkitem -id=urn:com.ibm.rqm:executionworkitem:4236 ---> duplicates Planning and Construction data from the first query
- No timelines nor environments are being used at this point
Accepted answer
If you use the RQMCopyUtility as is, the behavior is expected, since the code is designed that way. The source code of this tool is included in the package, so you can modify the code and handle whatever the use cases you like. It shouldn't be too difficult for an experienced Java developer (if you have one available that is).