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

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

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!

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

638 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