Integrating JIRA with Bitbucket and GitHub
Bitbucket is Atlassian's cloud-based code repository service. It provides public and private code repositories, with support for both Git and Mercurial. It provides a great option for organizations that want to move to DVCS but do not want to deal with the infrastructure overhead.
In this recipe, we will look at how to integrate our on-premise hosted JIRA with Bitbucket in the cloud.
Getting ready
Since we will be using Bitbucket in this recipe, you need to have a Bitbucket account (both Git and Mercurial repositories will work). If you do not have one, you can sign up for a free account at http://bitbucket.org.
How to do it…
The first step is to create a new consumer in Bitbucket for JIRA, which will generate the consumer key and secret:
Log in to your Bitbucket account.
Navigate to Manage Account | Integrated applications.
Click on Add consumer and enter a name. The name you enter here will be displayed when JIRA requests access authorization, so you...