Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to migrate single project from A.atlassian.net to B.atlassian.net, with attachments.

lichvarm July 3, 2020

Hello, currently I need to migrate one project from A.atlassian.net to B.atlassian.net. 

It seem there is no native support for that.

Destination B has its own projects, so import via Restore system is not an option.
Also I do not want to use CSV export, as it has issues with attachments.

I would assume, that as admin on both A and B, I will be able to move it by several clicks.

What is the solution?

1 answer

0 votes
Phill Fox
Community Champion
July 3, 2020

Hi @lichvarm 

Welcome to the Atlassian community.

I would solve your issue with two imports the first using CSV and covering everything apart from attachments.  (https://confluence.atlassian.com/adminjiracloud/importing-data-from-csv-776636762.html)

I am assuming that your "issues with attachments" is that the A.atlassian.net is not open to the public so the CSV importer fails to access those attachments.  

 

This now leaves the challenge of finding and moving the attachments.

I would then use the Jira API in a script to achieve this. 

1. Identify the attachments to move

2. Pull the attachment from A.atlassian.net

3. Add attachment to B.atlassian.net 

The API for handling attachments is described at https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-group-Issue-attachments

 

Another alternative is to look at some of the Apps that synchronise between two Jira instances and to use one of those to move your project and then break the synchronisation.

 

Good luck and I hope this has pointed you in the direction of a couple of solutions.

 

Phill

lichvarm July 3, 2020

Hello Phill.

Thank you for your answer. First, I'll try CSV importer, maybe it will work, when I'm logged to both instances.

Synchronize is the keyword I didn't try to search, I'll check that also.

lichvarm July 3, 2020

CSV import does not look well, as it didn't import EPICs:


2020-07-03 11:37:01,309 INFO - Importing issue: [externalId='11784', summary='Security']
2020-07-03 11:37:01,327 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1beab6d3[id=External issue ID,name=External issue ID,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,valueSet=<null>]
2020-07-03 11:37:01,388 ERROR - Error importing issue [externalId='11784', summary='Security']: Status [ Open ] does not have a linked step in the [ Software Simplified Workflow for Project GIMS ] workflow. Please map to a different status.

Also, Milestones (Sprints) are not being migrated: 


2020-07-03 11:37:12,256 INFO - Importing issue: [externalId='11894', summary='CI/CD - Doc review']
2020-07-03 11:37:12,257 WARN - Cannot add value [ [Milestone 8] ] to CustomField Sprint in Issue with summary 'CI/CD - Doc review': Sprint id must be a number: Milestone 8 
lichvarm July 3, 2020

Exalate Jira Issue Sync & more seem to work, but slowly and I'm not sure if it syncs also workflow, sprints etc.

lichvarm July 3, 2020

But everything is migrated as Story ... Tasks, Epics etc :-/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events