Migrate attachments from Jira Server to Jira Cloud?

Is there a way to migrate attachments from a Jira Server instance to a Jira Cloud instance?

We have a server instance that we're migrating data from into a new cloud instance. I've been utilizing the CSV import to move data up into the cloud, which works fine, but it can't import attachments.

I have a script I wrote that can upload attachments using the API, but that only works if I have the attachments neatly seperated into folders (named by the issue key) and the full filenames within. Jira server doesn't store them this way, so that script is useless for my purposes, and I don't have the expertise or no how to translate how they store them into something useful.

So what can I do here? What is the easiest way to make this happen? Surely someone has run into this situation and can give me some advice.

JIRA v7.4.2

I have no paid plugins, and the odds of me getting approval for one for something like this are next to nil, so please don't suggest any, they wouldn't be helpful.

1 answer

1 vote
Brian Cohen Atlassian Team Oct 19, 2017

Hi Daniel,

The typical method of getting attachments from Server to Cloud is to include the attachments with an initial full Jira Server backup that is imported into the Cloud. This brings all the issues along with their attachments into your Cloud instance.

This is more of a one time process though as the backup will erase all data on the Cloud instance to replace it with the data from the Server instance. We have instructions on how to get the attachment data into the Jira Server backup:

Migrating from JIRA Server to JIRA Cloud

Another possible option here would be to setup a new empty Server instance, you could then merge your existing Server instance with your Cloud instance and then migrate that combined instance back to the Cloud. This is useful if you have data in Cloud that can't be overwritten by the Server data coming in.

Best regards,
Brian

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,143 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you