My Company deployed an on-prem BitBucket Server. We have been trying to integrate it with Cisco Webex Teams to post a message to a space when pull requests are made to our repository. We are using a Webhook integration from the Cisco Webex Teams AppHub (https://apphub.webex.com/categories/developer-tools/integrations/bitbucket-cisco-systems). Everything appears to be connected but whenever we send data to the Webhook it does not update the Webex Teams space with the data. We are at a loss for why this is not working(?)... We have validated that the webhook works for Cloud BitBucket server but we cannot get this to work for our On-Prem BitBucket server.
Any advice would be greatly appreciated.
It looks like the link that you have provided is not working or not accessible. Bitbucket cloud and Bitbucket server are different products and instructions for one may not work for other.
Especially the webhook payload, so Cisco Webex Teams config expecting payload from cloud and but getting a different entirely different one from server, then it may not be able to process it. You may also want to check following to get the bottom of the issue
@Prasanth , Quick question on the this answer, If the stash is able to post the webhook to the requestbin which is a public site outside the VPN/Proxy, Then it should also be able to reach the Cisco Webex right? I have a case where the webhook is able to post the request to the requestbin but not to the https://botworkflows.webex.com/. I get the error code as 400 and below is the body of the response
The webhook URL was copied and pasted that we provided by the BitBucker server bot for the manage command.
You are getting 400 error code and the message,
because you created a new webhook for your repository on Bitbucket Server(formerly known as Stash), copied the webhook URL from the bot workflows page when creating a new notification and pasted it in the URL field of the Bitbucket Server webhook and clicked on ```Test Connection```.
The error is due to the fact that at this point the webhook URL is not created yet.
Hence the message ```INVALID_HOOK```.
Don't worry about testing the connection, simply go ahead and create the webhook on Bitbucket server. Then go to the bot workflows page and save your notification.
Now the webhook would be created and available to receive events.
And that's it! It should now be working
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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