The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I export attachments associated with the projects?

C Olson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 6, 2013

How do I export the attachments associated with the projects using the XML project export/import tool. I heard it requires a soap call - can anyone advise on how to do this?

Thanks

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Georges Moubarak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 19, 2016

Hello c olson,

Give JAM(https://marketplace.atlassian.com/plugins/com.infosysta.jira.JAM/server/overview) a try. It can export and then import all your attachments to a second instance.

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Champion
August 7, 2013

If you're running on-premisis Jira, the easiest thing to do is copy the flat files from disk directly. They are located in $JIRA_HOME/data/attachments (or %JIRA_HOME%\data\attachments on Windows) by default. You can look in "System Information" in the admin panel to find the location for sure. In order to do a full restore, simply dump the attachment directory structure into the same location on your destination host and import the XML. If you're doing a project import, copy the Project key directory from your attachments backup and dump it in $JIRA_HOME/import/attachments and point Project Import at your XML file.

If you're trying to get them to have their original file names, you will need to either do something in the API or write a SQL script to provide the name of the file on disk and it's original name, then rename the flat file back to it's original name. Filenames are obfuscated on disk with modern versions of Jira.

TAGS
AUG Leaders

Atlassian Community Events