Help with Caught PSQLException for insert into "AO_550953_SHORTCUT"

When attempting to add a link to a project, the following error is thrown by PSQL.

We couldn't save the link for you

Caught PSQLException for insert into "AO_550953_SHORTCUT" ("NAME", "SHORTCUT_URL", "ICON", "PROJECT_ID") values (?, ?, ?, ?)

Has anyone seen this error and if so, how did you resolve it?

Thanks,

Joe

1 answer

0 vote

So that specific table is in use by the Jira projects plugin.  This is a system bundled plugin for Jira.  But I am still not sure exactly why you might be getting this SQL exception.   My thought is that perhaps the database itself has not be setup as Jira is expecting per our documentation, (SQL user rights, incorrect collation, table encoding are among my top suspects).   If those are the cause, then it might be necessary to walk back through the setup of the database in Connecting Jira to Postgresql.

I would be interested to learn more about this:

  1. What version of Jira is this?
  2. What version of postgres is your database?
  3. What collation / encoding is your database using?
  4. Are there any strange characters in the URL or Name that might be a factor here?
  5. Are there any other SQL exceptions in the logs?
  6. Does this stacktrace indicate the specific values that Jira is trying to write to your database at the time this happens?

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

352 views 3 11
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