Data Migration
Asked by Poonam Desai:

Hi All,

1. We are doing migration from client Jira instance to our company Jira instance.The issues have been migrated but the attachments could no be migrated. Also there are couple of issues which are linked to Confluence. What would be the best possible way to upload all the attachments and links?

2. When we migrated the issues the sprints could not be mapped. I tried mapping using the Sprint ID but could not and had to manually create sprints to map the completed issues to the respective sprints. Since, they were manually created they are visible on the backlog and cannot be deleted, else the ,mapping will be gone. And if we delete the sprints then the old issues mapped shift to the next sprint eg if sprint 4 is deleted the issues from sprint 4 move to sprint 5. Ho do I remove the completed sprints from the backlog that were mapped manually.

How can I handle this?


Answers:
author: kuldeep Singh
body: [@Poonam Desai](/t5/user/viewprofilepage/user-id/4761755)

Have you tried this plugin, if not please try this, we have recently migrated Jira from one server to another using this,

[https://marketplace.atlassian.com/apps/1211611/configuration-manager-for-jira?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/1211611/configuration-manager-for-jira?hosting=datacenter&tab=overview)

We used below plugin for Confluence migration from one to another server,

[https://marketplace.atlassian.com/apps/6398/jira-command-line-interface-cli?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/6398/jira-command-line-interface-cli?hosting=cloud&tab=overview)

Thanks.

comments: author: Poonam Desai
body: Thanks Kuldeep, I shall have a look at it.


author: Rilwan Ahmed
body: Hi [@Poonam Desai](/t5/user/viewprofilepage/user-id/4761755) ,

1. I would suggest please go through the migration steps mentioned by Atlassian.  
<https://confluence.atlassian.com/adminjiraserver/migrating-jira-applications-to-another-server-938846962.html>

Regarding attachments, you can refer go through guide <https://confluence.atlassian.com/adminjiraserver/restoring-data-938847686.html>   

**Please note this point:** If you've performed native backup, you also need to copy/restore the `/data` folder manually to your new server.

2. Links in JIRA and Confluence are dependent on the original application link.  
Some related documents to help you with migration  
<https://confluence.atlassian.com/jirakb/applinks-fail-when-copying-jira-and-confluence-to-other-environments-856843626.html>   

<https://confluence.atlassian.com/confkb/how-to-bulk-update-jira-issue-macro-to-point-to-a-different-jira-instance-596771463.html>   

I would suggest**try the steps in the test environments** before modifying them in the production.

comments: author: Poonam Desai
body: Hi [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) I missed mentioning I am not an admin of the Client system and to perform the actions mentioned in the links I believe I need to be an admin in all systems.

The data backup we have taken is from

**Issues \> Export Excel CSV file**


author: Pramodh M
body: [@Poonam Desai](/t5/user/viewprofilepage/user-id/4761755)

Performing backup and restore will allow you to have all the metadata from the source instance to the destination instance.

You also have an option to restore the project from the backup file. Please find the reference here

<https://confluence.atlassian.com/adminjiraserver/restoring-a-project-from-backup-938847691.html>

Let me know if you have any queries

Thanks

comments: author: Poonam Desai
body: Hi [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) thank you for the revert. I being not an admin of the client Jira instance, it was difficult to have the whole system backup and hence we did the exported the data using CSV . How can I add the attachments in this case. Please guide.


author: Pramodh M
body: Here's a quote info on attachments
> Importing attachments
>
> You can attach files to issues created from your CSV file. To do this, specify the URL of your attachment in an 'Attachments' column within your CSV file.
>
> Assignee, Summary, Description, Attachment, Comment
>
> Admin, "Issue demonstrating the CSV attachment import", "Please check the attached image below.", "<https://jira-server:8080/secure/attachment/image-name.png>", "01/01/2012 10:10;Admin; This comment works"
>
> Admin, "CSV attachment import with timestamp,author and filename", "Please check the attached image below.", "01/01/2012 13:10;Admin;image.png;file://image-name.png", "01/01/2012 10:10;Admin; This comment works"
>
> (info) URLs for attachments support the HTTP and HTTPS protocols and can be any location that your Jira server must be able to access. You can also use the FILE protocol to access files in the import/attachments subdirectory of your Jira home directory.

<https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html>

Thanks


author: kuldeep Singh
body: [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) [@Poonam Desai](/t5/user/viewprofilepage/user-id/4761755) ,

If you used backup file from source instance and then restore that file in the target instance, in that way all the data from Target instance will be deleted, and you're not able to backup again.

This is the issue with the backup restore.

But if you used configuration manager, for moving projects from one server to another, this will not make changes to existing projects.

Only you have to take care the same name schemes.

What it means, if you have same name permission scheme in source instance and same name scheme in the target instance that will be overwrite, before migration you have to renamed all the scheme with the same name.

Thanks.


Tags: jira