NumberFormatException Importing BitBucket issues into Jira

I've set up an Eval version of Jira in order to install the BitBucket Importer plugin. My intention is to import our BitBucket issues, and backup the imported data to restore to our Jira OnDemand service. We've got three BitBucket repos using issue tracking that I want to import. Two have imported flawlessly, but the largest (and most important) does not. In the UI I see the following error:

Fetching data from Bitbucket failed: java.lang.NumberFormatException: null (the complete exception can be found in the log)

And if I view the log I see the following exception:

2013-06-15 12:07:07,065 JiraTaskExectionThread-9 ERROR jim 727x852x1 1n7wfqm /secure/admin/views/FetchDataPage!default.jspa [importer.bitbucket.fetch.DataFetchJob] Fetching data from Bitbucket has failed
java.lang.NumberFormatException: null
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at com.atlassian.jira.plugins.importer.bitbucket.BitbucketImporterClient.waitForRepositoryBackupToFinish(
	at com.atlassian.jira.plugins.importer.bitbucket.BitbucketImporterClient.loadProject(
	at com.atlassian.jira.plugins.importer.bitbucket.fetch.DataFetchJob$
	at com.atlassian.jira.plugins.importer.bitbucket.fetch.DataFetchJob$
	at com.atlassian.jira.task.TaskManagerImpl$
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at Source)
	at java.util.concurrent.Executors$ Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at Source)
	at com.atlassian.jira.task.ForkedThreadExecutor$
	at Source)

The BitBucket repo has 260 issues, so it's not super huge. I am able to manually download a backup from BitBucket (it's a 17Mb) zip file. The server has ample space to download and unzip this file.

Not being able to import BitBucket issues is blocks us from moving to Jira, we're going through this routine of using an eval Jira because previous requests to make te BitBucket Importer available to OnDemand users have not been actioned.

1 answer


I beleive this was fixed rather recently. Check out followed by Looks like your exact issue was resolved in a bugfix on the 23rd.

Give upgrading a try and see if it is working for you now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,531 views 15 21
Read article

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