A Bitbucket Server plug-in that automatically selects the repository of the JIRA project in the create branch dialog.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

Create Branch Repository Selector for Bitbucket Server

Travis build status

For more information, please visit our Atlassian Marketplace listing.

Motivation

The basic workflow this add-on contributes to is when you start creating a branch from JIRA:

JIRA development panel with create branch link

This action forwards you to Bitbucket Server's "Create branch" dialog:

Bitbucket Server's create branch dialog

Bitbucket Server selects the last recently used repository in the "Create branch" dialog which can be different from the repository the JIRA issue targets. This can lead to the situation where a branch is created in the wrong repository by mistake when the user does not change the branch field accordingly.

This add-on selects the repository that belongs to the JIRA project in the "Create branch" dialog automatically. It knows which JIRA project a repository belongs to by scanning the commit messages for JIRA issue keys:

Bitbucket Server's create branch dialog

TL;DR

We also have a YouTube video explaining this add-ons' functionality:

Create Branch Repository Selector for Bitbucket Server screencast

Download

You can download this add-on from the Atlassian Marketplace.