xml import failure with SQL Expection

As I try to import an xml backup file - the restoration fails with below SQL Exception ;

 SQL Exception while executing the following:INSERT INTO cwd_group (ID, group_name, lower_group_name, active, local, created_date, updated_date, description, lower_description, group_type, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-12899: value too large for column "JIRA"."CWD_GROUP"."DESCRIPTION" (actual: 258, maximum: 255)


1 answer

This widget could not be displayed.

What versions of JIRA are you on (i.e. what was the export made on, and what version are you importing it into?)

I am on 6.3.4 and the version that I am importing it on is also 6.3.4 . My case here is that I have done a fresh installation of 6.3.4 and I am importing the file that has been generated in another 6.3.4 environment to this new environment. Basically , I want a duplicate environment of jira but pointing to a new database.

ok - looks like I got the problem. seems like my dev team had increased the table size in the source jira instance - so the xml file had data with more than 255 limits. Edited the table limit in new db as well and restored successfully.

Hmm. You *really* shouldn't be changing the database like that. It renders your system unsupported (and will turn round and bite on all your transfers and upgrades). Please, undo it.

Chris Fuller Atlassian Team Jan 10, 2016

Strong +1 to what Nic has said. If your DBA spots that we're missing an index we need, that's one thing (and please tell us!) Altering the structure of the datamodel. changing the types and sizes of columns, etc. is just plain not a good idea. Even if it works today, there is no telling what weird and wonderful headaches it will give you tomorrow.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

78 views 0 1
Join discussion

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