WorkZone merges Pull Request but leaves it open

We have a couple of times seen the WorkZone plugin for Bitbucket Server merge a pull request automatically (as it should) but leave the Pull Request Open.

wz_screenshot.png

1 answer

Hi Tim,

Sorry about the trouble.

We've had an issue previously with incoming build results in rapid succession which confuse the auto-merge process. Please have a look through this ticket and see if that matches your problem. Basically an incoming build result can trigger an auto-merge (if criteria are satisfied) - another incoming build result within a few ms would create a race condition as it finds the PR not yet merged. 

If you can't resolve the problem please do the following:

  • Indicate Workzone and Bitbucket versions
  • Are you running BB as a cluster/data center?
  • Describe your workzone automerge configuration and repository pull request configuration in detail (screenshots)

Turn on workzone logging with 

curl -u admin -v -X PUT -d "" -H "Content-Type: application/json" http://bb-host:7990/rest/api/latest/logs/logger/com.izymes.workzone/info

 

  • Observe the behaviour until the problem occurs again.
  • Send zipped Bitbucket server logs and other info to support at izymes dot com.

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,761 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you