java.lang.RuntimeException: Error adding status IceBox

Trying to import issues from Pivotal Tracker.

JIRA (v5.2.2#843-sha1:2c344e5)

JIRA Importers Plugin 5.0.2

Users are being mapped (although the exact same problem occurs when not using user mapping).

Please help - I'm really not sure how to proceed.

2013-01-02 10:49:08,735 INFO - Import started by rcourtxxxx using com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean

2013-01-02 10:49:14,052 INFO - ------------------------------

2013-01-02 10:49:14,052 INFO - Importing: Users

2013-01-02 10:49:14,052 INFO - ------------------------------

2013-01-02 10:49:14,053 INFO - Only new items will be imported

2013-01-02 10:49:14,640 WARN - 26 users associated with import. 11 will be imported as active due to license limits. Check log for details.

2013-01-02 10:49:14,640 INFO - ------------------------------

2013-01-02 10:49:14,640 INFO - Finished Importing : Users

2013-01-02 10:49:14,641 INFO - ------------------------------

2013-01-02 10:49:14,641 INFO - 0 users successfully created.

2013-01-02 10:49:14,641 INFO - Retrieving projects...

2013-01-02 10:49:14,721 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=285301,externalName=Frontend,name=PIV FRONTEND,key=PIVFRONT,url=<null>,lead=jbecker,description=<null>,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=2,versions=<null>,components=<null>,issues=<null>,workflowSchemeName=<null>

at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:618)

at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:307)

at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:27)

at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:16)

at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:366)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

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:662)

Caused by: java.lang.RuntimeException: Error setting up Pivotal scheme for project PIVFRONT

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean$3.afterProjectCreated(PivotalDataBean.java:349)

at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:614)

... 13 more

Caused by: java.lang.RuntimeException: Error adding status IceBox

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTStatusNameToIdMapping(PivotalSchemeManager.java:323)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.loadPTWorkflow(PivotalSchemeManager.java:272)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTWorkflow(PivotalSchemeManager.java:267)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.getPTWorkflowScheme(PivotalSchemeManager.java:243)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.assignPTWorkflowScheme(PivotalSchemeManager.java:235)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalSchemeManager.setPTSchemesForProject(PivotalSchemeManager.java:172)

at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean$3.afterProjectCreated(PivotalDataBean.java:347)

... 14 more

2013-01-02 10:49:14,726 INFO - No issues need to be reindexed.

2 answers

1 accepted

0 votes
Answer accepted

We had manually created a Status called "Icebox", which i guess explains why the importer couldn't add "IceBox". So it's either a bug, or a documentation bug. I've worked around the problem my renaming our Icebox status name.

It definitely looks like a bug in JIRA Importer Plugin. I raised an issue for it - https://ecosystem.atlassian.net/browse/JIM-882

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Summit

Find a your Summit 2019 Buddy!

Can you believe there's less than one month until Summit 2019? It's time to start planning your agendas, not to mention packing ... In the meantime, introduce yourselves on this thread so that you ...

218 views 15 6
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