Why there are lots attachments but not associated with RQM project
I created a simple project, one test plan, one test case, one test script. All artifacts had no attachment. When I used RQMCopyUtility tool to copy this project by following command, I found most of time spent on attachment copy.
java -jar RQMCopyUtility.jar -s=https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -d=https://myhost2:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectB -l=importlog.txt
My question is why there are so many attachments but not associated with RQM project. Is that possible for me to check the file content? Is that used for somewhere?
Thanks
Wendy
java -jar RQMCopyUtility.jar -s=https://myhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA -us=ADMIN -pws=ADMIN -d=https://myhost2:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectB -l=importlog.txt
My question is why there are so many attachments but not associated with RQM project. Is that possible for me to check the file content? Is that used for somewhere?
Thanks
Wendy
3 answers
Hi Wendy,
What happen when you use: -a=testplan,testcase,testscript ?
Does it copy attachments from other projects as well?
eg:
C:\RQM-Extras-RQMCopyUtil-5.0.2>java -jar C:\RQM-Extras-RQMCopyUtil-5.0.2\RQMCop
yUtility.jar -s="https://jcarusi-tp:9443/qm/service/com.ibm.com.rqm.integration.
service.IIntegrationService/ProjectB" -us=CLM -pws=CLM -d="https://jcarusi-tp:94
43/qm/service/com.ibm.com.rqm.integration.service.IItegrationsService/ProjectF"
-ud=CLM -pwd=CLM -a=testplan,testcase,testscript
What happen when you use: -a=testplan,testcase,testscript ?
Does it copy attachments from other projects as well?
eg:
C:\RQM-Extras-RQMCopyUtil-5.0.2>java -jar C:\RQM-Extras-RQMCopyUtil-5.0.2\RQMCop
yUtility.jar -s="https://jcarusi-tp:9443/qm/service/com.ibm.com.rqm.integration.
service.IIntegrationService/ProjectB" -us=CLM -pws=CLM -d="https://jcarusi-tp:94
43/qm/service/com.ibm.com.rqm.integration.service.IItegrationsService/ProjectF"
-ud=CLM -pwd=CLM -a=testplan,testcase,testscript
I also tried to use "-nr" parameter as suggested in the POST:
https://jazz.net/forum/questions/212791/how-do-i-avoid-copying-attachment-from-projecta-to-projectb-when-using-rqmcopyutility
It copied the testplan, testcases, testscript without the attachment files. But doing that you will copy "the top level artifacts only, no references"
eg:
java -jar C:\RQM-Extras-RQMCopyUtil-5.0.2\RQMCopyUtility.jar -s="https://jcarusi-tp:9443/qm/service/com.ibm.com.rqm.integration.service.IIntegrationService/ProjectAA" -us=CLM -pws=CLM -d="https://jcarusi-tp:9
443/qm/service/com.ibm.com.rqm.integration.service.IItegrationsService/ProjectBB" -ud=CLM -pwd=CLM -a=testplan,testcase,testscript -nr
https://jazz.net/forum/questions/212791/how-do-i-avoid-copying-attachment-from-projecta-to-projectb-when-using-rqmcopyutility
It copied the testplan, testcases, testscript without the attachment files. But doing that you will copy "the top level artifacts only, no references"
eg:
java -jar C:\RQM-Extras-RQMCopyUtil-5.0.2\RQMCopyUtility.jar -s="https://jcarusi-tp:9443/qm/service/com.ibm.com.rqm.integration.service.IIntegrationService/ProjectAA" -us=CLM -pws=CLM -d="https://jcarusi-tp:9
443/qm/service/com.ibm.com.rqm.integration.service.IItegrationsService/ProjectBB" -ud=CLM -pwd=CLM -a=testplan,testcase,testscript -nr
Comments
I just curious why there are lots of attachments that are not associated with project. It seems that those attachments are not created by user, so who create its?
I think that might be a defect.
Please let me know the following:
1) What happen when you use: -a=testplan,testcase,testscript
? Does it copy attachments that are not associated with the project ?
2) What happen when you use -ignoreTypes=attachment
? Does it copy attachments that are not associated with the project ?
Thank you