pull-request-notifier-for-bitbucket icon indicating copy to clipboard operation
pull-request-notifier-for-bitbucket copied to clipboard

Add Watchers to Webhook

Open timtrinidad opened this issue 5 years ago • 0 comments

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).

timtrinidad avatar Jul 31 '19 19:07 timtrinidad