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.

2 answers

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,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,025 views 4 9
Read article

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