Error importing Pivotal project

I'm using Jira v4.4#649-r158309

GreenHopper is v5.7.1

I've updated my Jira Import plugin to the latest version (3.5.3). Additional related plugins com.atlassian.jira.plugins.jira-workflow-designer - v.2.0.0, com.atlassian.jira.plugin.workflow.blockinglinks - v.1.0.0 , com.innovalog.jmwe.jira-misc-workflow-extensions - v.2.4.1

I want to import an existing project from Pivotal to Jira using the import plugin.

I started doing it as described in atlassin's confluence but when the import process starts I get to following error

2012-11-08 12:53:42,751 INFO - Import started by xxxxx using com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean
2012-11-08 12:53:42,754 INFO - ------------------------------
2012-11-08 12:53:42,754 INFO - Importing: Users
2012-11-08 12:53:42,754 INFO - ------------------------------
2012-11-08 12:53:42,754 INFO - Only new items will be imported
2012-11-08 12:53:44,940 INFO - 7 users associated with import.
2012-11-08 12:53:44,955 INFO - ------------------------------
2012-11-08 12:53:44,956 INFO - Finished Importing : Users
2012-11-08 12:53:44,956 INFO - ------------------------------
2012-11-08 12:53:44,956 INFO - 0 users successfully created.
2012-11-08 12:53:44,956 INFO - Retrieving custom fields...
2012-11-08 12:53:44,956 INFO - Retrieving projects...
2012-11-08 12:53:45,288 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state
java.lang.Exception: Unable to import Project ExternalProject[jiraId=<null>,id=428049,externalName=AAAAA,name=BBBBBB,key=KKK,url=<null>,lead=xxxxx.yyyyyy,description=<null>,projectCategoryName=<null>,assigneeType=3,workflowSchemeName=<null>]
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:580)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:279)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:25)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:14)
	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:359)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61)
	at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160)
	at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249)
	at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.RuntimeException: Error setting up Pivotal scheme for project KKK
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean.afterProjectCreated(PivotalDataBean.java:342)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:576)
	... 13 more
Caused by: java.lang.RuntimeException: Error adding status IceBox
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTStatusNameToIdMapping(PivotalSchemeManager.java:317)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.loadPTWorkflow(PivotalSchemeManager.java:266)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTWorkflow(PivotalSchemeManager.java:261)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTWorkflowScheme(PivotalSchemeManager.java:238)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.assignPTWorkflowScheme(PivotalSchemeManager.java:230)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.setPTSchemesForProject(PivotalSchemeManager.java:167)
	at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean.afterProjectCreated(PivotalDataBean.java:340)
	... 14 more
2012-11-08 12:53:45,308 INFO - No issues need to be reindexed.

5 answers

1 accepted

As it is a bit difficult to upgrade our jira instance quickly, i will play a bit with a CSV export from pivotal and import it. I already tried it and it imports the project with small issues.

1 vote

Hi Desislav,

There is a KB for this error, please refer to the following link.

Hope it helps.

Cheers,

John Chin

The new project is being created but there are no PT workflow or issue type schemes created. Also this is my first Pivotal project to be imported in Jira.

1) which version of GreenHopper do you use?

2) which exactly version of JIRA Importers Plugin do you use? The latest version works only with JIRA 5.0.2 and newer.

3) do you have some other plugins installed in this system?

4) do you have any additional information in JIRA log file? (<JIRA home>/logs/atlassian-jira.log)

added in description

Hey, you are running on a quite ancient version of JIRA Importers Plugin. I know that newer versions require JIRA 5.0+. Do you have a chance to run it on a newer version of JIRA?

Honestly it's quite possible that this bug has been fixed since then.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
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