Skip to end of metadata
Go to start of metadata

Problem

If when running a data import you receive an error similar to the error shown in the stack trace below, this indicates that the workflows which the issues being imported use, contains a validator on the Create transition which is failing and this is why the issue cannot be imported.

The reason for this is that Project Configurator uses the built-in Jira data import functionality to import in issue issues and this function executes the create a transition in the workflow when creating an issue and if a validator on the create transition fails then it will not create the issue and will display the error that you are receiving.

Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow

Solution

In order to work around this error, you should review the workflows for the projects which you are importing issues for inside the source instance and remove any validators on the create transition before generating a new export to import from.

After successfully exporting and importing the projects you can then re-add any validators to workflows which you removed.