Welcome to the experienced plugin development guide for Bitbucket Data Center. This guide assumes you are familiar with the Atlassian Plugin Framework and have installed the Atlassian Plugin SDK. If you are still new to plugin development for Atlassian products then start with the beginner guide to Bitbucket Data Center plugin development.
We have two options for you to follow: start from working code by forking an existing plugin, or begin completely from scratch.
Choose an example plugin that most resembles what you want to achieve and begin modifying it for your use case.
Use our CLI tool to generate the plugin structure then begin developing your own behavior from a clean slate.
atlas-create-bitbucket-plugin
from a command prompt window and follow the prompts to create your plugin.atlas-create-bitbucket-plugin-module
from the root directory of your plugin or hand edit your
atlassian-plugin.xml
file to add additional modules to your plugin.atlas-run
from the root directory of your plugin to start Bitbucket Data Center with your plugin installed. See the
Atlassian Plugin SDK Documentation for more
information on developing and debugging your plugin.You can see the above commands in action in this 30 minute video tutorial.
Note: This tutorial predates the renaming of the product to "Bitbucket Data Center" from "Stash", but is still a useful resource.
To keep learning about plugin development for Bitbucket Data Center, continue with the following:
Rate this page: