The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • 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

vince maraia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 25, 2014

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

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 25, 2014

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.

0 votes
Mendus Chelapurath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2014

I am getting the same problem

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 6, 2014

Same answer.

TAGS
AUG Leaders

Atlassian Community Events