Hi,
i am trying to set up email notifications on pull request even through Bitbucket UI.
I have already set up post hook for the repository to trigger emails on merge to master.
but i would like to trigger email on pull request merged event.
Tried this configuration in scriptrunner event handler for PullRequestMergedEvent
condition
event.pullRequest.toRef.displayId == "master"
How do i find the methods of pullrequest class.
what methods can i use to send mail
i want to get username of the user who merged the PR and the repository name of the event generated.
Thanks,
Rathan