I am trying to create an integration with your platform to handle events published by Bitbucket for the different variations you support (e.g., pull requests (created, updated, ...), Repository events, etc) - as documented in webhooks. However, after going through the given documentation, I failed to encounter documentation on the User entity needed, for instance, for the Build Status Updated payload. It's mentioned it's supposed to be in the Common Entities area, but it's not.
Can you please provide its specification? Also, could this documentation be improved with samples of implementation of a given hook with at least one programming language? It would probably help fill some gaps for people when trying to understand this and have a certified guide on how to do it properly?
@deku2aofaWelcome to the Atlassian Community.
Yes you are correct about the state of documentation here, this need immediate attention. After GDPR related changes made by Atlassian they removed User Object section but haven't removed references to this in documentation, which is pretty bad situation for someone who want to develop on this. I will make Atlassian take a look at this, and update documentation as soon as possible.
Now coming to your query, how does payload looks like for user? one major difference from earlier is it doesn't contain email address now, and fields depend upon visible settings of user. Here is a sample I received one payload today morning,
Moreover, for ease of development you create a free public https://requestbin.com bin and add RequestBin provided url in webhooks section to take a look at all the webhooks. Use this images for reference,
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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