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

saravanan subramanian January 16, 2013

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

1 vote
Naren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2013

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.

saravanan subramanian January 16, 2013

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 Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 19, 2013
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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
TAGS
AUG Leaders

Atlassian Community Events