Create
cancel
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

Hello,

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] 127.0.0.1 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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

587 views 1 6
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