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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Program merge button


A) I need to program the PR's merge button so it is only available when 

1- atleast one successful build is attached

2- atleast two reviewers have approved

3- the Jira ticket of the branch(Jira ticket number is in the branch) is in 'ready to merge' status, has fix version and all the Jira tickets linked to the ticket with higher fix version are 'closed'

B) is it possible to auto merge to PR's destination branch when all the requirements are satisfied?



1 answer

I am looking for the same thing, but for now only for the first 2 cases.
I enabled these checks, and Bitbucket does show a warning if these conditions are not met, but still I can go ahead and merge anyway....

Strange, I would expect this to be default behavior.
I saw 1 other answer, for the oposite case of enabling the button, it seems to require some kind of scripting ??

Kind regards,

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

456 views 4 4
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