Integrating JIRA with Bitbucket Cloud and GitHub
Bitbucket Cloud 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 https://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, as follows:
Log in to your Bitbucket account.
Navigate to Bitbucket settings | OAuth.
Click on the Add consumer button under OAuth consumers.
Enter a name for the new OAuth consumer. The name you enter here...