Bamboo data migration from Postgres to MS SQL Server - tinyInt as boolean

We're attempting to migrate Bamboo databases from postgres to SQL Server. We noticed that true/false in Postgres needs to be converted to a tinyInt in SQL Server.

What should the values map to? True = 1 and False = 0 ? We tried doing that and are seeing a couple different errors in the log file:

 

'Retrieving MANAGER-CIM' threw org.apache.commons.configuration.ConversionException: 'cleanWorkingDirectory' doesn't map to a Boolean object, aborting.

and

org.apache.commons.configuration.ConversionException: 'triggers.defined' doesn't map to a Boolean object

2 answers

1 accepted

Accepted Answer
0 votes

During our conversion we accidentally changed some false values to "false" in the build_dscription table and that's where these errors came from.

It appears our assumption to use 1-0 for True-False respectively worked.

better way to do this is using bamboo xml export and import feature.

you can export an entire site xml backup and restore it back after connecting to mssql database

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

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