How to map Status field when migrating to JIRA from ClearQuest using External System Import option in JIRA?

I am trying to migrate a project from ClearQuest to JIRA. I have created a new Service Desk in JIRA,and workflow of the project to be migrated is also created. But when I am using the External System Import option from JIRA and mapping status field from CSV (exported from ClearQuest) to Status field present in "Issue Fields" in Mapping screen, it is giving Error in it. I am attaching logs, configration and my jira backup here.Can we migrate the status field from CSV so that status field is at the point where it is in exported CSV file?

1 answer

0 vote
Boris Berenberg Community Champion Jul 09, 2015

You need to create all the of the statuses you need before you perform the import, and make sure that they exist for the workflows associated for each issue type.

HI Boris, I have migrated workflow already, so all the statuses are already existing in the new project where I am trying to import issues.

Boris Berenberg Community Champion Jul 10, 2015

Your logs say that this is not the case: {code}2015-07-09 16:06:46,197 ERROR - Error importing issue ExternalIssue{externalId=autoid-3147671253735935602, summary=User Id - 670 - clicking on click here for password change policy is not functioning, issueType=10000} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: User Id - 670 - clicking on click here for password change policy is not functioning at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:184) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:902) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:775) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:401) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:528) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:491) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:254) at java.lang.Thread.run(Thread.java:745) Caused by: com.atlassian.jira.plugins.importer.external.ExternalException: Cannot find status with id 'Closed'. at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:204) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:173){code}

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...

64 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