I have created an add-on for Atlassian Bitbucket Server. I would like the add-on to be enabled or disabled at the repository level.
So I was able to add a web-item at the ADD-ONs section of Settings page of a repository. Now, how do I add my enable/disable radio buttons or a toggle button on the right side screen?
Right now, clicking on web-item takes me to a servlet and renders a velocity template on a different page. But for other add-ons I have noticed that, the settings page is rendered on the same page unlike my case.
How to achieve that?