After recent Bamboo upgrade to 5.15.5 we are noticing automatic plan branch detection issues Edited

After a couple of days post our bamboo upgrade to 5.15.5 version, we are noticing few issues in bamboo. Branches added in Bitbucket are not automatically added in bamboo despite the auto plan branch enabled and manually adding them in bamboo is generating the following error:-

could not execute batch; SQL [insert into VCS_BRANCH (NAME, DETECTED_DELETION_DATE, CHAIN_ID, VCS_BRANCH_ID) values (?, ?, ?, ?)]; constraint [BAMBOOP.SYS_C006420]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch

This is occuring for most of the branches across most of the plans and never happened before. Apart from the upgrade nothing else has changed on Bitbucket or bamboo end.

We are also seeing similar errors at times when a plan build automatically gets triggered (due to triggers) or is run manually, wherein these are again the sql errors indicative of the fact that the db tables are not accepting the new results.

I wonder why the database is behaving so weird now, and does that mean we need a restart of the database or a restart of bamboo server.

Kindly advise as its blcoking our work to a great extent.

Any help here will be greatly appreciated.



1 answer

Possibly due to some issue with the post upgrade re-indexing, the plan branches would update in the database but never show up in UI and hence casuing those error messages.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira Service Desk

What's new in Jira Service Desk Server: Introducing 4.0 & more - Feb 2019

Hello Atlassian Community!  I'm Teresa, the Product Marketing Manager   for Jira Service Desk Server at Atlassian. I'm excited to announce two exciting releases for Jira Service De...

28 views 0 0
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