It's all about the answers!

Ask a question

Importing attachments using CQ importer


Namit Pande (6311319) | asked Mar 14 '11, 11:04 a.m.
I am struggling to find good information on how to import the attachments from ClearQuest using the CQ importer. I am able to import the records but don't know how to import the attachments. Please help. Thanks.

5 answers



permanent link
Lorelei Ngooi (1.5k22) | answered Mar 14 '11, 1:50 p.m.
JAZZ DEVELOPER
Here's a couple of links on using the importer:
https://jazz.net/wiki/bin/view/Main/CQImportWizardTips
http://jazz.net/library/article/69
http://jazz.net/library/article/391

To import attachments, just add the attachments field to your CQ query's display field. You don't need to add it to the mapping file.

permanent link
Namit Pande (6311319) | answered Mar 14 '11, 2:24 p.m.
Here's a couple of links on using the importer:
https://jazz.net/wiki/bin/view/Main/CQImportWizardTips
http://jazz.net/library/article/69
http://jazz.net/library/article/391

To import attachments, just add the attachments field to your CQ query's display field. You don't need to add it to the mapping file.


Thanks for your response. I tried your suggestion on a small resultset. I am excited that it worked on most records. However I am getting an exception on atleast one record. The error is:
Bug DHENT00043084: Unexpected content, please check Bugzilla URL and authentication.
Bug ID####: Unexpected content, please check Bugzilla URL and authentication.
The entity name must immediately follow the '&' in the entity reference.

Any ideas? Thanks.

permanent link
Lorelei Ngooi (1.5k22) | answered Mar 14 '11, 2:54 p.m.
JAZZ DEVELOPER
By any chance does that record have an attachment with an & character in its filename?

permanent link
Namit Pande (6311319) | answered Mar 14 '11, 3:44 p.m.
By any chance does that record have an attachment with an & character in its filename?

No & in the filename but it has got 5 attachments. I removed all the attachments in order to pinpoint which one had issue, I added the attachments back one by one. Oddly, I was able to add all the attachments back to the record and successfully got it imported with all of them.

permanent link
Lorelei Ngooi (1.5k22) | answered Mar 14 '11, 5:02 p.m.
JAZZ DEVELOPER
Not sure what to advise since it is now working for you. It might not have been an attachment issue.

Your answer


Register or 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.