While trying to import two projects from one JIRA 6.2.1. installation to another JIRA 6.2.1. installation (physically apart), the pre-import log shows me this:
There are more than twenty attachment entries that do not exist in the attachment directory. See your logs for full details.
2014-03-24 12:01:23,615 JiraTaskExectionThread-22 WARN admin 721x6014x1 1ecmhva 22.214.171.124,0:0:0:0:0:0:0:1 /secure/admin/ProjectImportSelectProject.jspa [imports.project.handler.AttachmentFileValidatorHandler] The attachment 'kana_856721_image002.jpg' does not exist at '/data/jira/data/import/attachments/CES/CES-3079/10819'. It will not be imported.
I have made an export of the attachments from this folder (can be any folder): $source_JIRA_HOME/data/data/attachments
I extract the package to this location (as described in the documentation):
My attachment path defined under System in Jira:
Default Directory [/data/jira/data/data/attachments]
Map structure of attachments look like this:
[ProjectKey]/[ProjectKey]-[IssueNumber]/[FileNumber].file (sometimes it has also a 'thumbs' directory)
My target Jira runs on lunix and the jira-user had read and write acces to $JIRA_HOME
I have also tried to put the attachments in this directions:
Did I forget something? How can I make this project import work with attachments?
I see typos in those locations: attach(e)ments. That might be causing the issue.
If you change your target home as:
I think that might do the trick. I assume your Administration>Attachments in JIRA has the location with no "e".
We have solved the problem!
It looks like their went something wrong during the restore or backup process. All IDs of the files where changed so the paths aren't correct anymore. I don't know what happend there, but we tried again and now it works.
I hope this post help others with the same problem!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs