Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Importing data via CSV

Dennis Skillman
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!
November 12, 2022

I am getting some kind of error bringing in data via CSV. This is something that I have done a ton in the past and not sure what is keeping the import from happening.

 

I have the data formatted as CSV UTF-8. I have the summary field, all of the fields and data map out correctly in the preview. When I click import I get the following info back in the detailed report.

 

2022-11-12 11:23:05,656 INFO - Import started by wskillman using com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - Importing: Users
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - Only new items will be imported
2022-11-12 11:23:05,659 INFO - 0 users associated with import. All of them imported as inactive, this can be changed after import in User Access step.
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - Finished Importing : Users
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - 0 users successfully created.
2022-11-12 11:23:05,659 INFO - Retrieving projects...
2022-11-12 11:23:05,659 INFO - Project ExternalProject{id='null', key='AS', externalName='null', name='ART Sync'} exists and found correctly.
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - Importing: Versions
2022-11-12 11:23:05,659 INFO - ------------------------------
2022-11-12 11:23:05,659 INFO - Only new items will be imported
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Finished Importing : Versions
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Importing: Components
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Only new items will be imported
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Finished Importing : Components
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Retrieving custom fields...
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Importing: Issues
2022-11-12 11:23:05,660 INFO - ------------------------------
2022-11-12 11:23:05,660 INFO - Only new items will be imported
2022-11-12 11:23:05,661 INFO - Importing issue: [externalId='autoid-8476962982077855754', summary='Modernized overlay group processing services']
2022-11-12 11:23:05,669 INFO - ------------------------------
2022-11-12 11:23:05,669 INFO - Finished Importing : Issues
2022-11-12 11:23:05,669 INFO - ------------------------------
2022-11-12 11:23:05,669 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
java.lang.IllegalArgumentException: expected one element but was: <com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl@bf8fae95, com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl@f917c3d0, com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl@43a2c7d9>
	at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:316)
	at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:254)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldsUtil.associateCustomFieldWithIssueType(CustomFieldsUtil.java:272)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldsUtil.makeSureCustomFieldIsApplicableForIssue(CustomFieldsUtil.java:153)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importExternalCustomFields(DefaultJiraDataImporter.java:1264)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:911)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15)
	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:533)
	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:491)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
	at java.lang.Thread.run(Thread.java:748)
2022-11-12 11:23:05,670 INFO - No issues need to be reindexed.

1 answer

1 accepted

1 vote
Answer accepted
Dennis Skillman
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!
November 12, 2022

I figured it out. I forgot to put issue type. Thanks.

Iza
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!
November 12, 2022

Eee

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.2
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events