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

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

0 votes



3 answers

Permanent link
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

0 votes


Permanent link
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

0 votes

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


Permanent link
Your case is different from the one linked by Joao, so you should try the "-ignoreTypes=attachment" parameter and it should work for you.

0 votes

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

Question asked: Dec 14 '15, 8:36 a.m.

Question was seen: 1,830 times

Last updated: Dec 15 '15, 10:06 a.m.

Confirmation Cancel Confirm