• 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 votes

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 Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

463 views 7 5
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