I wrote a Bitbucket plugin that listens for the PullRequestOpenedEvent. It works great. But I only want to enable it at the repository level, not the whole system.
I have other plugins that show up under Pull Requests > Merge checks and Workflow > Hooks. They're great. I can enable them at the repository level with a dropdown.
That's all I need for my PullRequestOpenedEvent plugin. How can I achieve this in the easiest way possible? Thanks.