Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hi
I'm having an issue during a server migration which the docs don't explain. I am migrating a service desk from cloud to our own AWS hosted server.
I have exported (for server) from the cloud server and imported into a staging instance of Jira. All good and the attachments are recognised.
When I export from staging to a development server the import succeeds for all issues but the attachments are missing. I've tried copying the attachment directory over before importing but to no avail.
I see in the database that the links are present in the table fileattachment in staging but missing in development.
my next attempt is to put the attachment directory into the zip file before importing it.
Anyone got any top tips for this?
Hello,
Just copy the data/attachment directory from staging to development. Attachments do not need to be in the backup
Hi Alexey
That's what I've always thought bit for some reason I'm not getting them linked to imported issues.
I'll dig deeper and see if there are any errors being reported.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I can now see that the project import preview screen is showing
The provided attachment path does not contain a sub-directory called 'CSD'. If you proceed with the import attachments will not be included.
but the staging system has attachments at
C:\JIRA2\Application Data\JIRA\data\attachments\CSD
and the target system has a copy of that at
C:\JIRA\Atlassian\Application Data\JIRA\data\attachments\CSD
and the possible cause may be
The attachments directory may have been copied over to <JIRA_HOME> /data/attachments folder but should have been copied over to <JIRA_HOME> /import/attachments.
Not clear from docs! I'll give this approach a whirl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok
That works copying to <JIRA_HOME> /import/attachments before running project import screen.
Can I accept my own answer:-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can. Why not? :)
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.