While trying to import two projects from one JIRA 5.2.7. installation to another JIRA 5.2.7. installation (physically apart), the pre-import log shows me this:
Attachments
There are more than twenty attachment entries that do not exist in the attachment directory. See your logs for full details.
After viewing the log it seems that the import cannot find the attachments specified, because Project Import points to a subfolder within the project attachment folder. The subfolder is always a 5 digit number (ie. /PANA/PAN-1190/50300, where PAN-1190 is the issue). Besides this, it looks like JIRA has a new way with storing it's attachments, because all the new folder has FILE-files within them. The name of the FILE-file is a 5 digit number as well (not the same as the subfolder number), in stead of 'name.jpg', 'name.docx', 'name.pdf' files. There is not one attachment successfully imported into the installation.
What is the best way to successfully import the attachments into the project with the Project Import functionality? The urgence is critical.
Below are two rows from the log as an example:
2013-03-03 11:22:30,943 JiraTaskExectionThread-6 WARN user 682x290x1 14ckgrx 0:0:0:0:0:0:0:1 /secure/admin/ProjectImportSummary!reMapAndValidate.jspa [imports.project.handler.AttachmentFileValidatorHandler] The attachment 'Rapport Gebruikers.xlsx' does not exist at 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\import\attachments\PANA\PANA-1205\50341'. It will not be imported.
1. As an example: the 'Rapport Gebruikers.xlsx' file does not exist in the specified folder, only a '48371.file' file.
2. The '\50341' subfolder does not physically exist in the PAN-1205 folder.
2013-03-03 11:22:30,943 JiraTaskExectionThread-6 WARN user 682x290x1 14ckgrx 0:0:0:0:0:0:0:1 /secure/admin/ProjectImportSummary!reMapAndValidate.jspa [imports.project.handler.AttachmentFileValidatorHandler] The attachment 'screenshot-1.jpg' does not exist at 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\import\attachments\PANA\PANA-1195\50342'. It will not be imported.
1. Same as above