Viewing webhook deliveries in Bitbucket can be a useful diagnostic tool when attempting to discover why, for example, a push to a specific repository has not triggered a build on CircleCI.
By default, the webhook requests history is not enabled in Bitbucket. You will first need to configure the webhook to collect request history:
- From Bitbucket, open the repository.
- Click the Repository settings link on the left side, then click the Webhooks link.
- Locate the CircleCI Webhook, and click the View requests link (in the Actions column).
- Click the Enable History button.
Note that Bitbucket will only collect history for 12 hours before automatically switching back to not collecting request history.
Once the request history collection is enabled:
- Perform the "problematic" action (commit push, pull-request creation/merge, etc.)
- Click the Load new requests button to view the list of recent deliveries.
- For the related event, click the View details link to open a detailed log page of the webhook delivery.
For more information on Bitbucket webhooks, please see the Bitbucket documentation.