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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.