Slack notification missing commit and user name information
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
The Slack notification for Bitbucket Pipelines-related activity (Build failure, deployment, etc.) is missing some information.
The missing information in the Slack notification is the commit details and the username, as shown below:

Diagnosis
Run the following command in the Slack channel where you are not seeing the commit details and the username in the Pipeline-related Slack notifications:
/bitbucket whoami
Verify if your Bitbucket account is connected to Slack or not.
If you are connected to your Bitbucket account, you should see the output as follows:

If you are not connected to your Bitbucket account, you should see the output as follows:

Cause
The issue may be caused if the user has not linked their Bitbucket account to Slack.
Solution
Run the following command in the Slack channel and authenticate to your Bitbucket account. Follow the instructions to authenticate to Bitbucket.
/bitbucket login
You should be able to see the missing information (the commit hash and the username) after linking your Bitbucket account to Slack.

Was this helpful?