pull-request-notifier-for-bitbucket
pull-request-notifier-for-bitbucket copied to clipboard
Add Watchers to Webhook
Right now, non-reviewer/non-author watchers do not have variables to send to a webhook. Bitbucket used to have a PullRequest.getWatchers()
function, but it was removed in 6.0. I can't figure out how best to get the watchers - otherwise I'd try and open a PR.
Any ideas on how best to get the watchers for a specific PR? The use case being that I want to notify everyone in Slack that would have otherwise gotten an email (including non-participant watchers and repo watchers).