What is the difference between linking JIRA to Bitbucket and linking Bitbucket to Jira

I know the question might seem like it is asking the same thing, but bear with me.  There seems to be different ways to link the two together as the process is different, and the end result differs.  

Is there a difference between the two?  Are there any functional differences if I do it either way?

JIRA  Software (Server) 7.0
Bitbucket Cloud (1 Team, 2 Repos) 


 Linking from JIRA to Bitbucket:

Login JIRA Administration -> Applications -> DVCS accounts
Link Bitbucket Cloud or Github Account
Enter Team Account ID
Enter OAuth Key and Secret
    (Generate in Bitbucket Team -> Manage Team -> OAuth -> Add consumer)

The Result is as follows:

Both Repositories are Synced
In Bitbucket Team:
OAuth is added as a consumer
In Bitbucket for both Individual Repos:
(Settings -> Services) There are 2 services added, "POST" and "Pull Request POST" to the JIRA URL
(Settings -> Webhooks)  Nothing
(Settings -> Links) Nothing 

I would have thought that a Link would have been created back to JIRA here, but that was not the case.  

Linking from Bitbucket to JIRA:

Login Bitbucket Cloud -> Team -> Project -> Settings -> Links
Add new link to JIRA, Enter JIRA URL and Project Key
Do the same for the 2nd Repo in the team 


Nothing is changed in the JIRA, it doesn't show the link in JIRA or anywhere else.

I also have to manually link both repos to JIRA, (where as if I link it from JIRA to Bitbucket, it automatically links all the repos within the team).  

It seems like the best way to link JIRA and BB is to do it from JIRA itself ?  Any smart commits would be handled automatically to their respective JIRA project, etc ?  

Are there any functional differences to linking them one way or the other?  What are the advantages of linking them one way over the other?  What would be the best practice in linking them together?  

1 answer

Linking from Bitbucket Cloud to JIRA makes links to JIRA issues in commit messages on Bitbucket Cloud so you can refer JIRA issues in your commit messages.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,232 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you