Hosting: Bitbucket server (migrating to Data Center soon, in the coming week).
Is it possible to add a new button to the "..." menu of a repository that can pop up a dialog for the user to fill out and then send a REST command to an external service?
My use case is a "Create release" button, the user populate some fields etc. , after which a REST request is sent to Jenkins to start a build and some other actions or services.
The content of the dialog will probably be populated with information from the repo, like a version number in a file or results of REST requests, depending on how easy or this is.
It is possible to add new entry points (menu items in menus, button in different screens, custom navigation, custom screens, etc.) to the Bitbucket Server user interface, but it requires developing a so-called P2 plugin ("app"). Bitbucket Data Server is the same as Bitbucket Server in this sense.
If you are ready to develop an app, start reading here: https://developer.atlassian.com/server/bitbucket/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.