I have two installations of jira 4.4.4. When importing the project from one installation to another, the log is showing an error when importing the attachments.
It looks like older attachments were in a directory like:
'e:\Program Files (x86)\Atlassian\Application Data\JIRA444\import\attachments\VOR\VOR-2133\10202_screenshot-1.jpg
'e:\Program Files (x86)\Atlassian\Application Data\JIRA444\import\attachments\VOR\VOR-2134\10724
It seems that at some point the source envirnment was upgraded and the later release is storing the attachment in a file named as the issue ID. This file has no extension.
If that's the case, is there a way to convert the older attachments to the new structure in some way so that I can import this?
Or is there another way to import this mixture of attachments?
attachments for newer issues look like this.
After a restart of the jira service, the attachments are now connected to the correct issues. In fact, both the old method and the new method of storing attachments were successfully processed during the import. The real issue it seems is that the pre-import validation step (and the log) incorrectly reported that all the attachments (old and new method) would not be imported.
Here's a section of the log:
2012-10-26 15:59:21,532 JiraTaskExectionThread-61 WARN CBarlage 959x42546x1 1h7zh7m 172.16.117.89 /secure/admin/ProjectImportSelectProject.jspa [imports.project.handler.AttachmentFileValidatorHandler] The attachment 'screenshot-1.jpg' does not exist at 'e:\Program Files (x86)\Atlassian\Application Data\JIRA444\import\attachments\VOR\VOR-2134\10732'. It will not be imported.
I have run the import in the sandbox environment and have seen a few of the attachments be properly linked to the correct issues. However, most are NOT available, so I opened a support issue with Atlassan. Once this is resolved, I will update this question with the answer.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG