Enable debug logging (since 5.3.0)

You can enable the debug logging via the default mechanism of Bitbucket. https://confluence.atlassian.com/bitbucketserver/bitbucket-server-debug-logging-776640147.html

As described in this document you can enable specific logger. The Jira Hooks for Bitbucket logger has the name jhfb-logger. You can enable it via the Bitbucket properties file or you can enable it via the following curl command.

#enable
curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/jhfb-logger/debug
BASH

Attention: Please disable this logging again after you have done your investigation

#disable
 curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/jhfb-logger/info
BASH

How to filter all Jira Hooks for Bitbucket entries?

Each log entry will start with the prefix “jhfb-logger”. To see only Jira Hooks for Bitbucket log entries, just filter the entries regarding the keyword “jhfb-logger”.

Support

If you have technical issues, please add the “jhfb-logger” logs to the ticket or email. Thank you in advance.

Alternatively you can create a support zip via the Bitbucket mechanism. (see https://confluence.atlassian.com/support/create-a-support-zip-790796819.html)