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

Bamboo - Bitbucket issue

I'm trying to enable the webhook for every commit that happens on a bitbucket repository. When i try to add the webhook url on bitbucket, it says invalid url. Can someone help?

https://confluence.atlassian.com/bamboo0605/using-bamboo/triggering-builds/triggering-a-bamboo-build-from-bitbucket-cloud-using-webhooks

https://build.company.name/browse/TEST-BT/rest/triggers/1.0/remote/changeDetection?planKey=TEST-BT&skipBranches=false

It gives me an invalid url. 

2 answers

I have tried above but still getting the Invalid URL issue. 

Does it work from command line, e.g. curl?

curl -X POST -H "Content-Type: application/json" "https://build.company.name/rest/triggers/1.0/remote/changeDetection?planKey=TEST-BT&skipBranches=false"

It gives me a 

Build request for plan originated from ip which is not an allowed address issue.

t's exactly response from trigger. Check you provided correct IP white list at trigger configuration

I have added the whitelist provided in my bamboo trigger.

https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

 

Bitbucket webhook configuration says url i have provided is invalid. Could you help in resolving the url issue?

We had the restrictions on infrastructure for private url, when i used the public it worked as expected.

Thanks for the help!

Hi @Manasa Tumu

Welcome to the community!

Please have a look at the below article, hope it helps.

https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

53 views 0 3
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