Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where can one find a complete and exhaustive list of events for the Bitbucket Server webhook?

Deleted user March 17, 2019

I'm a university student working on creating an integration for Bitbucket Server's outgoing webhook for the open source team chat application: Zulip. I was going through the official Atlassian docs but I found a couple of issues with them:

  1.  It's inaccurate. Please correct me if I'm wrong here, but the test fixtures provided here don't really have the same format as what's actually being generated and sent.
  2. It's not exhaustive - this is a big issue as now the developer would have to figure out every single possible sub-event that could happen via. trial-and-error and that's not always possible. Which makes it a great bane for any developer who wants to create BitBucket support in their applications/services.

I'm not really trying to complain or anything, and I'm quite sorry if it sounds that way. I was just wondering if someone could let me know what all of the possible events/sub-events are, for example, for the repo:refs_changed event, what are all of the different "type"s (apart from "UPDATE")? What kinds of different changes can we expect to be notified about in repo:refs_changed events (details) and could you provide accurate examples of the data we'd receive in each case?

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 21, 2019

Hello Hemanth and welcome to the Community!

Creating a chat app that integrated with Bitbucket is an excellent idea and it sounds like you have a clear goal on how to get there. The issue we need to overcome is to ensure you have everything you need to develop your app without any missing pieces.

With this said, I reviewed the document you sent and found additional documentation within the developer resources which may be more relevant. I did find Responding to application events, and at the bottom of that document, it covers where to find a list of all events triggered by Bitbucket. This exhaustive list may be found at com.atlassian.bitbucket.event.

I hope these documents prove helpful and you’re able to find the list you’re looking for.

Regards,
Stephen Sifers

Deleted user March 21, 2019

Hello Stephen,

Despite this documentation being in a less friendly javadoc-like format, it does actually help a bit (it at least gives me an idea of what I can try out to see if there would be a difference in the webhook message). So, thank you!

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events