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

Enable automatic merging

Ashish Sharma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2022

I have set up the merge checks, and they are passed. But auto-merge is still not working. Please help me to solve this issue.

 

Thanks,

Ashish

2 answers

1 vote
Ozan Hazer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2024

This feature rarely works. Most of the time, the schedule merge button does not appear at all...

There's a related bug: https://jira.atlassian.com/browse/BCLOUD-22882

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2024

Hi Ozan,

Thank you for reaching out.

The bug you linked occurs when automatic merge has been configured in a Project's branch restrictions (the Bitbucket Project where one or multiple repos belong) instead of a repo's branch restrictions. I have added details in the bug report on how to add a branch restriction to a repo instead.

There is also another bug where automatic merge does not work if the source branch's commit is associated with multiple builds: https://jira.atlassian.com/browse/BCLOUD-22828

If your branch restriction is set up on repository settings (and not on project settings), and if your use case is not the same as the scond bug I linked, you can reach out to the support team to look into your issue.

You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Kind regards,
Theodora

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2022

Hi Ashish,

I believe that you are referring to the feature mentioned in this blog post?

Could you please confirm the following:

1. Have you set up the branch permission for the destination branch of your PR?

2. In this branch permission, have you checked both options

- Check the last commit for at least X successful build and no failed builds
- Allow automatic merge when builds pass

3. Have you selected any additional options in the branch permissions, and if so, which ones?

4. Have you selected the Merge option in the Pull Request? You still need to select Merge in the Pull Request, so that the automatic merge will happen when builds pass.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events