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?
Thanks!
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.
hi chuck ,
Pls help me to know oly restart of service made d attachments available or did u install any plugin along with the restart ??
Kindly help i am stuck with the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi CBarlage,
We can't see the attachment, could you copy and paste the error here?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DId you physically copy over the attachments? If not, I would try that first with one or two attachments and see if things work or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And yes, I do have the attachments in the import directory under a folder matching each project key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My import just stops because of these errors... any one know a way around that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.