Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Disable re-build option Edited

Is there a way to disable the option of re-building an existing build in a plan? The plan is currently set up to be manually triggered and I don't want users to re-build a plan even if it fails; they should start a new build.

Essentially I want to disable this feature:

1 answer

1 accepted

1 vote
Answer accepted

Simon says:


Bamboo plans run when they are triggerred. The types of available triggers are explained here:

To avoid Bamboo running a plan you can remove all defined triggers and leave only the option to trigger the plan manually from the UI. Then let the users of Bamboo know that they should not run the plan manually.

Also make sure that the plan was not configured to be triggered by the successful build of another plan.


Simon out

Hi Simon,

This didn't answer my question. Possibly a mistake on my part for not giving more details. I've updated my answer to provide the scenario. 

Sam Out

Simon says:

" Thank you for the clarification. There is no way to completely disable the functionality.

What you can do is to hide that menu entry in the UI so the users will not see it anymore. However if a user knows the endpoint to call and the arguments she will be able to rerun failed builds. (In your unmodified instance go mouse over that menu entry and your browser will display in the status bar the request URL; that is what the user should know to be able to rerun failed builds.)

To hide the menu entry edit the file <Bamboo install directory>/atlassian-bamboo/lib/menus.ftl and comment out line 712.  The line would look like:

[#-- [@ui.displayLink id="restartBuild_${resultsSummary.planResultKey}" titleKey=buttonLabel href=restartPlanUrl showIcon=false inList=true mutative=true/] --]

Observe that to comment out the line you can use [#-- ... --] construct.

I hope this helps.


Note that if you reinstall Bamboo or upgrade it the menus.ftl file will be overriden so you will have to apply the comment again.


Simon out.

Like Cristiano Oliveira likes this

Works like a charm! Thank you very much!!!

Just to help someone that has got to do the same thing in the future, I would like to add that line 730 of this same file declares another link, but for Successful builds. I have also commented it to disable Rerun at all (via UI, as Simon said).

[#-- [@ui.displayLinkForAUIDialog id="rerunBuild_${immutablePlan.key}"
href=editRerunBuild/] --]

Hope this helps!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

967 views 0 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you