Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket notifications for PR commits are missing #276

Closed
madisparn opened this issue Apr 13, 2023 · 6 comments
Closed

Bitbucket notifications for PR commits are missing #276

madisparn opened this issue Apr 13, 2023 · 6 comments
Labels
bitbucket enhancement New feature or request

Comments

@madisparn
Copy link
Contributor

Hello,

With Bitbucket Datacenter version 7.17.2 the slack notifications for new commits made under PR seem to be missing.
I get the emails with "person x pushed 1 change to PR name", but not in slack.

@umukherjee-atlassian umukherjee-atlassian added bug Something isn't working bitbucket labels Apr 13, 2023
@mvlasovatl
Copy link
Collaborator

mvlasovatl commented Jun 9, 2023

Hello @madisparn ! I tried to reproduce it on Bitbucket 7.17.2 and Bitbucket Server for Slack 4.0.6 and failed. I push commits to the source branch of a PR and still get notifications in Slack.
Are you sure that Commits -> Pushed notification event is enabled in your subscription?

@madisparn
Copy link
Contributor Author

Hello, @mvlasovatl I do not see " Commits -> Pushed" notification setting on my subscription.
image

@mvlasovatl
Copy link
Collaborator

@madisparn It's missing on Personal notifications page you are referencing, but is present on the page of repository subscriptions. A screenshot of that page may be found on the plugin Marketplace page.

See image here

@madisparn
Copy link
Contributor Author

madisparn commented Jun 13, 2023

@mvlasovatl I have not explicitly configured the settings for any repositories. And prefer not to. We have around 30 projects and 100 repositories.
I also want the notifications to go to the slack user directly, not to a channel.
image

@mvlasovatl
Copy link
Collaborator

That's a valid request. It isn't a bug though. Rather it's an ambiguous definition of what is "update" that's tracked by checkboxes on "Slack notifications" page in user profile section (Personal Notifications - PN). PR approval, "needs changes" review or a comment are considered an update that may trigger PN, but commits on PR - aren't. This logic is implemented in BitbucketNotificationEventListener and PersonalNotificationService. We may add commits to the list of PN-supported PR updates. Then the #277 needs to be updated accordingly.

@mvlasovatl mvlasovatl added enhancement New feature or request and removed bug Something isn't working labels Jun 14, 2023
mvlasovatl added a commit that referenced this issue Feb 2, 2024
Issue #276: Send PN on PR commit
@mvlasovatl
Copy link
Collaborator

Fix for this one has been fixed just released in version 4.0.9 🎉
Thank you for your efforts @madisparn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitbucket enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants