JIRA Problem with Migration from Server to Cloud

Ive recently migrated from Jira Server to Jira Cloud.

Ive been able to restore my data and it shows up in the cloud but when i import my attachments, the link inside the the issues does not work.


2 answers

Yeah.  We stumbled on to this bug recently with a client.

There was a change to the attachment directory structure in a recent version of Jira. Not sure where this change was made. The old format was as follows:


When you access an issue that has an attachment, Jira changes the directory structure as follows:


Just write a little script to add the 10000 directory and move the attachment directories in to the 10000 directory.

Do you have any instructions on how to write that script. im still new to the system.

Do you have any documentation

If you only have a few Jira Projects, just move the attachments around manually. All you need to do is create the 10000 directory inside the attachments/KEY directory, then move all directories that are already in the KEY directory in to the 10000 directory.

To further clarify, when you create a Project in Jira, you assign it a key. Each issue number is a combination of the key and a sequential number that increments as each new issue is created. For example, if you have a Project that has a key JRA, your directory structure will look like this:



You need to create


and move the subdirectories in to the 10000 directory



Are you talking about the server part or the cloud.

Sorry if im asking but i have no idea what you are talking about.

You can't do that on Cloud, Dave is talking about the server side.

But if im migrating to the cloud, how can i import the attachments.

Here is how my zip file looks like,


That looks right to me.  You upload the zipped file when you tell Cloud to restore the files.

Will i need to import the backup with the attachments or separate. in the cloud restore option you have "Begin Import" and "Import Attachments" as well.

Have a look through https://confluence.atlassian.com/jirakb/migrating-from-jira-server-to-jira-cloud-779160826.html - it goes into more detail than I can type quickly.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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