Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Cisco Webex Teams Integration with on-prem BitBucket Server

Hello,

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.

1 answer

0 votes
Prasanth Atlassian Team Oct 08, 2018

Hi Daniel

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

  • Webhooks are not getting triggered from server or not. You can check it with https://requestbin.fullcontact.com/ or something similar.
  • Webhooks not reaching the Cisco Webex, a firewall or outbound proxy config blocking the requests.

Best regards,
Prasanth Thaikkalloor

@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 

 

{"error":"INVALID_HOOK"}

 

The webhook URL was copied and pasted that we provided by the BitBucker server bot for the manage command. 

@Daniel Sagayaraj 

You are getting 400 error code and the message,

{"error":"INVALID_HOOK"} 

 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


Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

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

1,912 views 0 7
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