mysql string size limit

Hi

when i want to restore a xml backup-file in jira that use mysql ,i get an error about string size limitiotin for some custom fields , what's the problam and what does can i do ?

i can use this backup file when i using hsql , but i cant restore it when i using mysql

thanks a lot

1 answer

Hi Mehran,

Can you include the error message here so we can have a look?

Its possible you'll have to extend the column length on the database table for the restore to complete successfully.

That does look like the column length needs to be extended.

Stringvalue in that table is restricted to 255 characters, so bumping that up to 512 will hopefullly suffice :)

thanks Pelle,

how can i change it ? in wich table?

is there any way to convert all stringvalue to nvarchar or bumping all of them to 512 ?

The error looks like the table is 'customfieldvalue' and the column 'stringvalue' needs extending. For MySQL I believe the syntax would be something like:

ALTER TABLE customfieldvalue MODIFY stringvalue VARCHAR(512);

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

207 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