Forums

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

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

Doru Botez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 17, 2019

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
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2019

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. :)

Doru Botez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2019

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

Like andrés likes this
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

You are welcome, Doru!

Have a nice day. :)

Andrey Suray [HyperVelocity]
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2020

Hi Petter,

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

The mentioned ticket is about importing issues with the parent-child relationship and it does not say that csv import is not available for Next-gen project completely.

Anyway, I am facing a similar issue during updating an issue in a Next-hen project using “External System Import” > CSV.

The CSV is pretty straightforward:
Issue key, Summary
TWO-1,sss


But I am getting the following error - "Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state: At least one given IssueParentAssociations must not be empty!"

Like # people like this
Ismoyo Eko Purwanto January 23, 2022

hi @Petter Gonçalves 

I have same error when importing the data. I am using the classic project without any parent and child anyway. Here is the error I get :  

"Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state: At least one given IssueParentAssociations must not be empty!"

I just want to bulk edit labels, so I just map : Summary (as required one), Issue Key and Labels. 
Please advise. Thank you.

Kind Regards,
Moyo

Like # people like this
Vinicius Xavier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2022

Hi @Ismoyo Eko Purwanto 

you get it? I have the same problem

Suggest an answer

Log in or Sign up to answer