Unable to create board (others seem to work fine)

For some strange reason, we can't create a board for a specific project. Other projects seem to work fine (with mostly very similar settings).

We pick the project, the addon auto-completes, and press "OK". We get an error: "Cannot open board, probably it has been removed".

The log entry is pretty long, you can find it here: http://pastebin.com/buiBb48X

We're running v1.2.1.1 of the addon and v6.2.6 of JIRA.

3 answers

1 accepted

Hi Ruben,

To me this looks like a suspicious line.

Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'DESCRIPTION' at row 1

I am not sure about this plugin how is the database schema of the plugin, but you can enable SQL logging, Administration -> Logging & Profiling, to know which query has this error. May be it would be helpful if you attach the sql log here.

Thanks, I didn't catch that part of the error.

I've pinpointed the problem. Table AO_DDA217_KANBAN with column DESCRIPTION was using datatype varchar(255), which does not equal the datatype used by JIRA (longtext). I've changed the datatype to longtext, and the problem is resolved.

Hi Ruben,

If you think my answer was helpful, please give it a Answered status :)

Small update to my question.

Last time I changed the data type of the "DESCRIPTION" field to LONGTEXT, because nvarchar(255) was not sufficient (and JIRA now uses LONGTEXT for project descriptions).

This worked, but when we restarted JIRA today, the addon no longer worked, throwing errors:

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'DESCRIPTION' at row 52

There's probably some code that still assumes the description column is nvarchar(255) instead of longtext.

I went in the database, and removed the long description from the projects. This is of course only a work-around, the actual problem still exists. But it's workable now.

Where did you change "DESCRIPTION" field to "LONGTEXT"?

At database level, in table "AO_DDA217_KANBAN".

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

165 views 0 4
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