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?
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.