Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

branch plan automatic creation failed


I have configured a build plan for bamboo using bitbucket server. It's working. When a I add branch manually, it's OK too.

But, even if the configuration is on "When new branch in repository is created" (in plan > branch configuration) and I wait more than the double of "Branch detection interval" (it's default: 300 seconds) the plan branch is not created.

Even after a while if I commit something new, nothing change.

Did I miss something?

Is there a way to debug it?

1 answer

1 vote

Hi @Monizze IT

Usually, this type of problem is caused by issues involving application links preventing events from Bitbucket to be fired against Bamboo.

If the links are properly configured you should be able to see the following messages in your <Bamboo_Home>/logs/atlassian-bamboo.log right after the branch is created on Bitbucket side:

2019-03-28 10:13:50,666 INFO [http-nio-8085-exec-21] [AccessLogFilter] POST http://<BAMBOO_URL>/rest/remote-event-consumer/latest/events/stash-branch-created-remote-event 385308kb
2019-03-28 10:13:50,668 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [BranchCreatedEventListener] Received stash branch creation event [ my-repo, my-branch]

Try to search for stash-branch-created-remote-event. You should be able to find POST messages from Bitbucket to Bamboo.

If you don't find them, recreate the application links and try again.

If the problem persists we might need to create a support ticket to dig dipper on this.

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

210 views 0 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