How to copy everything related to a Test Plan in a single RQMCopy operation?
- 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
Comments
Thanks for the answer, Donald.
I'm wondering whether it's worth opening an Enhancement request around it.
When I checked the source code, I could see the logic there matches what you described. The file I checked is
RQMCopyUtility/src/com/ibm/rqm/ct/artifacts/internal/TestPlanArtifactHandler.java
You can extract the RQMCopyUtility.jar file and have access to all the source code.
Thank you, Donald!
I've passed this post along to the development team in our org so they have a starting point.
For the rationale though, I was looking to understand what business case is met by the duplication behavior when copying Execution data.
I'm wondering whether even though working as design, it warrants an Enhancement.
I don't know the rationale part (maybe it was not well thought out when it was first developed?). Since the tool is simply "an API sample", it may only fit for very limited use cases. I guess the development team will ensure its working order, but any new features or enhancements will be at low priority. It is stated in the Wiki.
https://jazz.net/wiki/bin/view/Main/RQMCopyUtility
If you have the skills or resources, it will be much easier just do it yourself.
Thank you so much for the clarifications!