Forums

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

Project key - Import failure

Aftab_Akhtar May 24, 2019

Hi, 

I created a new project, with a new Project key. 

 

I am importing a file in CSV and it  does not work. Have i missed something in the set up?

 

i believe it is the project key as nothing else has been changed. previously the imports were working fine. 

the error below, 

 

Unexpected failure occurred. importer will stop immediately. Data may be in an unstable state: 

 

Detailed log below:

2019-05-24 16:38:54,584 INFO - Import started by admin using com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
2019-05-24 16:38:54,852 INFO - ------------------------------
2019-05-24 16:38:54,852 INFO - Importing: Users
2019-05-24 16:38:54,852 INFO - ------------------------------
2019-05-24 16:38:54,852 INFO - Only new items will be imported
2019-05-24 16:38:54,862 INFO - 1 users associated with import. All of them imported as inactive, this can be changed after import in User Access step.
2019-05-24 16:38:54,862 INFO - ------------------------------
2019-05-24 16:38:54,862 INFO - Finished Importing : Users
2019-05-24 16:38:54,862 INFO - ------------------------------
2019-05-24 16:38:54,862 INFO - 0 users successfully created.
2019-05-24 16:38:54,864 INFO - Retrieving projects...
2019-05-24 16:38:54,872 INFO - Project ExternalProject{id='null', key='ISL', externalName='null', name='Investment Software Limited', type='null', template='null'} exists and found correctly.
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Importing: Versions
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Only new items will be imported
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Finished Importing : Versions
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Importing: Components
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Only new items will be imported
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,875 INFO - Finished Importing : Components
2019-05-24 16:38:54,875 INFO - ------------------------------
2019-05-24 16:38:54,879 INFO - Retrieving custom fields...
2019-05-24 16:38:54,883 INFO - ------------------------------
2019-05-24 16:38:54,883 INFO - Importing: Issues
2019-05-24 16:38:54,883 INFO - ------------------------------
2019-05-24 16:38:54,883 INFO - Only new items will be imported
2019-05-24 16:38:54,890 INFO - Importing issue: [externalId='autoid--2212769136161348102', summary='38966']
2019-05-24 16:38:54,905 INFO - ------------------------------
2019-05-24 16:38:54,905 INFO - Finished Importing : Issues
2019-05-24 16:38:54,905 INFO - ------------------------------
2019-05-24 16:38:54,906 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state:

 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2019

Hello Aftab,

There are some errors similar to the one you are informing when importing CSV files mapping next-gen custom fields, as you can see in the bug reported below:

CSV import will fail if Next-gen custom field is mapped

Can you please confirm if you are importing a next-gen project?

If that's not the case, can you provide us the fields you are importing in your CSV file?

If possible, can you provide us the Entire CSV file but hiding the confidential information you are importing?

Let us know how it goes.

Aftab_Akhtar June 5, 2019

Hi @Petter Gonçalves 

 

Thank you for your response. 

apologies, I was away last week. yes, had a look and it is a next gen project. created a it service desk project and the import worked. 

 

Can I ask what is a next gen project and how do I make my import work for this project? 

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2019

Hello Aftab,

Next-gen is a new project template with less and simpler features than the Classic project templates of JIRA. It was built to provide a simpler tool for those customers who felt overwhelmed by the complexity of the Classic projects in JIRA.

That been said, JIRA next-gen uses a different set of Custom field, Screens. etc.

Since CSV import functionality does not recognize Next-gen Custom fields (Check the bug mentioned in the last answer), you can not map custom fields in your CSV import when importing to a Next-gen project.

Remove the custom fields from your CSV file and the import should be work just fine for the Next-gen project.

Like Test Team likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events