• Community
  • Products
  • Jira
  • Questions
  • (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'STRING

(SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'STRING

I'm getting the error below when migrating to mysql...is it ok to increase the Table Lengths? It seems strange that this was ok from hsql but mysql is not happy? Thanks!

[GenericEntity:CustomFieldValue][id,282156][stringvalue,2014-01-22 18:50:54:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:54:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:54:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:55:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:55:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:55:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:55:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:56:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:56:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:56:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:57:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-01-22 18:50:57:[JIRA -> QC]Unable to set = in field BG_USER_25 for JIRA issue TJP-27693: Required field cannot be empty or contain only spaces. 2014-02-21 18:23:54:[QC -> JIRA]For issue TJP-27693: Working on field Status Can't find the corresponding status Assigned keep status as it was Open - Assigned][issue,51857][customfield,10600] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'STRINGVALUE' at row 1))

2 answers

0 vote

What "migration" are you doing?

There should never be a need to change the table length, that's completely the wrong approach. It's trying to insert duff data - trying to fix the storage to accommodate it is not the right answer, you need to fix the import and/or the data.

I am getting the same problem

Same answer.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot