How can I import a complete backlog, exported from another JIRA platform, through a CSV?

I exported a project backlog from our JIRA platform in a CSV file, but when we try to import it in another JIRA platform, it does not import every issue. It give a certain error:

- 794 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state:

- VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(60))): while inserting:

So it does not import every issue, it stops at the issue where the error occors.

Can you help us with that?

You have to understand, we can not provide the CSV-file because of confidential client information.

Thank you.

1 answer

0 votes

Hi Jeroen,

The error you are seeing is specifically a SQL exception.  Jira is using a SQL database to store this information on the backend of things.   Since you're seeing this error it likely means that one or more of the fields in your CSV file has values that are larger than the destination database fields are setup to accept.

Normally this does not happen when both source and destination Jira instances are using the same database on the back end.  But with Jira you could be using Postgres, MySQL, Oracle, or Microsoft's SQL server, of which each of these could be creating slightly different table definitions.

You could either try to tweak the csv file to trim these values  OR you could try to adjust the database itself to expand the size of that field.   Depending on the field in question and the type of databases (both source and destination) could affect the decision here as to what the best course of action is.

So to summarize the next steps, I'd like to know what databases are in use in both instances, what versions of each database, and learn what field is generating this particular error.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,091 views 4 9
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