How to create new actions for the overflow (...) menu

CJCombrink June 8, 2023

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. 

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 9, 2023

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/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events