Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,332
Community Members
 
Community Events
185
Community Groups

Bamboo planbranch setting to prevent deletion pendant in database Part 2

Hello @Eduardo Alvarenga,
I have already accepted the answer to my previous question (Bamboo planbranch setting to prevent deletion pendant in database ), because I was able to find the setting in the column you have described.
Unfortunately, after changing the setting "Clean up plan branch automatically" of a specific planbranch, it has no effect on the XML_DEFINITION_DATA column. Even after creating a new plan branch having a different setting, the element <disabled> always has the value "false".
So, this column seems to be deprecated, and there has to be another field/file, where this information is getting stored.
Could you please reevaluate the information?

2 answers

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 08, 2022

Hey @HeWi, Good to help you again!

The XML_DEFINITION_DATA column is updated on the BUILD_DEFINITION table whenever you enable or disable the "Clean up plan branch automatically" setting on a Plan Branch. That column is not deprecated.

Examples

When enabled:

<branchConfiguration>
  <cleanup><disabled>false</disabled></cleanup>
(...)
</branchConfiguration>

When disabled:

<branchConfiguration>
  <cleanup><disabled>true</disabled></cleanup>
(...)
</branchConfiguration>

I recommend you reach out to Atlassian Support and open a ticket if your issue still persists.

Regards,

Eduardo Alvarenga
Atlassian Support APAC

Yes, okay, correct, @Eduardo Alvarenga,

the XML_DEFINITION_DATA gets changed after saving the planbranch settings, BUT:

There has to be another value/table effecting the checkbox, because when the value of planbranch A (disabled: false) gets updated via SQL statement in the column XML_DEFINITION_DATA with the value of planbranch B (disabled: true), Bamboo still shows the checkbox of planbranch A being enabled, even after reloading the buildplan page.

Can you explain, why that is happening and which other value is being responsible for the checkbox in Bamboo showing the effect of updating the database value? Only after restarting the bamboo service, the setting takes effect. Why does it work when initiated via the buildplan settings in the Bamboo GUI (without restarting the bamboo service).

Why is not Bamboo applying the updated database values after reloading the buildplan page? What has to be done? Is Bamboo using some kind of cache?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events