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

Unable to import csv file to JIRA project throught error!!

Hi Team,

Iam getting the below error while importing csv file to a JIRA Project. Please help me on this issue for the same.

Thanks,

Saravanan.

Error :

03:56:17] **************************************************************

[03:56:17] IMPORTING STARTED
[03:56:17] **************************************************************

[03:56:17] Importing with ImportBeanType: com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
[03:56:17] Skipped importing of Users
[03:56:17] Retrieving projects...

Importing: Projects

[03:56:17] Only new items will be imported
[03:56:17] Project STTL already exists. Not imported

Finished Importing : Projects

[03:56:17] Skipped importing of Versions
[03:56:17] Skipped importing of Components

Importing: Issues

[03:56:17] Only new items will be imported
[03:56:17] Importing issue number 1 : Issue {summary=Build Control Queues in Oasys web to hold escalation/discrepancies/customer communication, type=null}
[03:56:17] FAILED: Error importing issue Issue {summary=Build Control Queues in Oasys web to hold escalation/discrepancies/customer communication, type=null}

com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Issue {summary=Build Control Queues in Oasys web to hold escalation/discrepancies/customer communication, type=null}
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:501)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23)
Caused by: com.atlassian.jira.plugins.importer.imports.csv.ImportException: No default issue type found for project: STTL
	at com.atlassian.jira.plugins.importer.external.ExternalUtils.preFilterIssueType(ExternalUtils.java:862)
	at com.atlassian.jira.plugins.importer.external.ExternalUtils.convertExternalIssueToIssue(ExternalUtils.java:778)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:497)
	... 2 more


[03:56:17] Importing issue number 1 : Issue {summary=Multiple Deal Quick Search in PWMS, type=null}
[03:56:17] FAILED: Error importing issue Issue {summary=Multiple Deal Quick Search in PWMS, type=null}

com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Issue {summary=Multiple Deal Quick Search in PWMS, type=null}
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:501)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23)
Caused by: com.atlassian.jira.plugins.importer.imports.csv.ImportException: No default issue type found for project: STTL
	at com.atlassian.jira.plugins.importer.external.ExternalUtils.preFilterIssueType(ExternalUtils.java:862)
	at com.atlassian.jira.plugins.importer.external.ExternalUtils.convertExternalIssueToIssue(ExternalUtils.java:778)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:497)
	... 2 more

3 answers

Do you have the column named Issue Type in your CSV file with the proper Issue Types for every issue. Also have you applied the proper Issue Type Scheme to the project STTL. Refer this KB for the troubleshooting.

Hi Naren,

Yes i have the Issue Type column in csv and i have imported same csv file in Jira Test instance its working fine. Only in Production showing the same below error. Please do the needful.

Thanks

saravanan.

nic Community Leader Jan 16, 2013

Again, check the csv is mapping the issue type correctly and consider adding a default issue type. The error is very clear - it is not able to map the issue types you've provided, it's falling back on the default in the scheme, and you haven't set one, so it's stopping.

You might want to try reading the log file - that should tell you what it can't map and why.

0 votes
nic Community Leader Jan 16, 2013

The error message is very clear - Jira has no way of knowing what issue type you want to create.

Either add a column to the csv with the issue type, or set a default issue type in the STTL project's issue-type-scheme so that Jira can use that

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in United States

Welcome new members!

Wow, I got swamped and now that I've finally gotten my head back above water, I find we have several new members! Welcome @Darren Keith lowman , @Amanda Babb , @Luis Zapata , @Joli Holmes , and @bh...

16 views 0 1
View post

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