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
Community Members
Community Events
Community Groups

How do I get the user and their group whilst running a build

I am trying to restrict the ability of developers to build the master branch, they need to be able to build, compile and test their branch(es) but not build against master database

1 answer

0 votes

Hello @Dave Grandon

You can work externally on Bamboo to restrict the merger of changes to the master/main branch by implementing a Pull Request and approval mechanism. That way your developers will be able to push their changes to their own branches and only merge to master when a Pull request is approved and merged.

Another strategy you can adopt is to modify Bamboo in a way that the repository attached to a Plan does not have "master/main" as the default Branch. For that, you need to modify the repository settings and declare another branch as the default.

You can then modify the Plan permissions to allow developers to only run builds and not edit the Plan.

If you want to have full control over the changes to the Plan structure, you can consider migrating the plan to Bamboo Specs (configuration as code).

Best regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events