It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Importing to JIRA cloud from csv exported from JIRA server fails with error

I'm trying to move a project from JIRA server to JIRA cloud via csv. The import ends with an error "

At least one given IssueParentAssociations must not be empty!

"Following is the full log of the import:

2019-09-17 19:57:35,620 INFO - Import started by doru.botez using com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
2019-09-17 19:57:35,825 INFO - ------------------------------
2019-09-17 19:57:35,825 INFO - Importing: Users
2019-09-17 19:57:35,825 INFO - ------------------------------
2019-09-17 19:57:35,825 INFO - Only new items will be imported
2019-09-17 19:57:35,840 INFO - 2 users associated with import. All of them imported as inactive, this can be changed after import in User Access step.
2019-09-17 19:57:35,840 INFO - ------------------------------
2019-09-17 19:57:35,840 INFO - Finished Importing : Users
2019-09-17 19:57:35,840 INFO - ------------------------------
2019-09-17 19:57:35,840 INFO - 0 users successfully created.
2019-09-17 19:57:35,843 INFO - Retrieving projects...
2019-09-17 19:57:35,861 INFO - Project ExternalProject{id='null', key='XFX4K', externalName='null', name='Xantrex Freedom 4K Firmware', type='null', template='null'} exists and found correctly.
2019-09-17 19:57:35,863 INFO - ------------------------------
2019-09-17 19:57:35,863 INFO - Importing: Versions
2019-09-17 19:57:35,863 INFO - ------------------------------
2019-09-17 19:57:35,863 INFO - Only new items will be imported
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,869 INFO - Finished Importing : Versions
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,869 INFO - Importing: Components
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,869 INFO - Only new items will be imported
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,869 INFO - Finished Importing : Components
2019-09-17 19:57:35,869 INFO - ------------------------------
2019-09-17 19:57:35,875 INFO - Retrieving custom fields...
2019-09-17 19:57:35,882 INFO - ------------------------------
2019-09-17 19:57:35,882 INFO - Importing: Issues
2019-09-17 19:57:35,882 INFO - ------------------------------
2019-09-17 19:57:35,882 INFO - Only new items will be imported
2019-09-17 19:57:35,984 INFO - Importing issue: [externalId='96313', summary='Implement basic 4KW Inverter / Charger functionality for split-phase model, no multi-unit support tested']
2019-09-17 19:57:36,031 INFO - ------------------------------
2019-09-17 19:57:36,031 INFO - Finished Importing : Issues
2019-09-17 19:57:36,031 INFO - ------------------------------
2019-09-17 19:57:36,032 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state: At least one given IssueParentAssociations must not be empty!

At the beginning I has a file with more than 345 issues containing Epics, Stories, Bugs, Subtasks, then I tried to break the csv file into files that contain only epics, only stories and only bugs and tried to start importing the epics first but I still get the same error when importing only the Epics.

Google did not return any info regarding the "IssueParentAssociations" so I hope someone would be able to help.

 

Thanks a lot,

Doru

1 answer

1 accepted

0 votes
Answer accepted

Hello Doru,

Welcome to Atlassian Community!

The error you are facing when trying to import the issues to your Cloud application usually happens when:

1 - You try to import sub-tasks before importing the related parent issues or

2 - You try to import the issues to a Next-gen project. For now, it is not supported yet (See JSWCLOUD-17758)

Additionally, please check if the CSV file is properly configured by following the steps in the documentation below:

How to prepare a database export for a CSV Import from a JIRA Server application to a JIRA Cloud application

 

That being said, I will need to take a look at your CSV file in order to further investigate your problem. If both suggestions above are not applicable, please create a new standard support ticket using the link below or let me know if you want me to create the ticket for you:

https://support.atlassian.com/contact/

We will be waiting for your answer to further investigate it. :)

Hello Petter,

Thanks a lot for your reply.  We  were indeed trying to import the issues to a Next-gen project. I just created a Classic project and then I was able to import all the issues.

 

Thank you very much for your help,

Doru

You are welcome, Doru!

Have a nice day. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

229 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you