Custom Issue type can't be imported in JIRA 6.2.7

We created couple of custom issue type in JIRA 6.2.7, then import a CVS file which includes custom issue type, got error like:

Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
java.lang.NullPointerException
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldsUtil.createOptionIfDoesNotExist(CustomFieldsUtil.java:215)
But if we import default issue type within in JIRA, like Bug, New Feature, then it works well.

2 answers

0 vote
Pedro Souza Atlassian Team Jul 11, 2014

Make sure that you have these custom issue types for this project that you're trying to import the CSV file.

If you have, try to import with the default issue type, then perform a bulk edit, moving to the custom issue type.

See here:

https://confluence.atlassian.com/display/JIRA/Modifying+Multiple+(Bulk)+Issues

Cheers,

Pedro Souza.

Thanks Pedro for your answer.

Those custom issue types are in the project which I tried to import. Also I know I can use bulk change to change issue type too which is walkaround. But I would like to find out why those custom issue type doesn't work, thanks!

0 vote
Shayne Covey Atlassian Team Sep 26, 2014

I recently ran into this issue and found we needed to correct the Issue Type associations for pre-existing Custom Fields the CSV was trying to populate. Here is the KB article with resolution steps:

https://confluence.atlassian.com/display/JIRAKB/Incorrect+Issue+Type+Configuration+for+Custom+Fields+Stops+CSV+Import

 

Shayne Covey

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 10 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

33 views 0 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you