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
4,362,756
Community Members
 
Community Events
168
Community Groups

Bitbucket server pull requests do not create a plan branch on Bamboo

Edited

I am using Bitbucket server with Bamboo. I have a linked repository between the two and have enabled "create plan branch with pull request is created", but I don't see any plan branch created.


My setup:

Bamboo 7.1.2 linked with the following:


Screen Shot 2020-10-21 at 6.10.32 PM.png

My bamboo setup:

Screen Shot 2020-10-21 at 6.12.37 PM.png

And 

Screen Shot 2020-10-21 at 6.13.17 PM.png

I see in the logs that bitbucket pull-requests are received:

2020-10-21 17:11:28,736 INFO [http-nio-8085-exec-23] [AuthenticatorImpl] Authenticated app 'Bitbucket:5482248460' as user 'null' successfully

2020-10-21 17:11:28,738 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [PullRequestAwareEventListener] Received pull request opened event [ part-recognition, from: refs/heads/VCVCOR-841-gtest_discover_tests, to: refs/heads/master]

but no pull-request plan branch is created and no pull-request builds happen.

1 answer

does it work if you have it set to making the branch plan when a new branch is created?

Yes, creating a new branch on bitbucket repo does result in a new plan branch to be created.

I discovered that if I create a PR for branch of the same repo to master branch of the same repo, a plan branch is created. However if a PR is created from a fork of the repo to the main repo, plan branch is NOT created.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events