Bitbucket JIRA Integration

This question is in reference to Atlassian Documentation: Linking Bitbucket Server with JIRA

We have many users in JIRA who are not the users of bitbucket. We do not want to create them as users in bitbucket. So when we are integrating JIRA  + Bitbucket, will those extra users in JIRA be able to access the Bitbucket repository? Will they be able to see the commits/ details of the commits and stories that are linked to Bitbucket in jira? How does the uneven user mapping work with this integration? 

1 answer

1 accepted

0 vote

You can configure different permissions in Bitbucket. The users in JIRA won't be able to access the repositories, or see the commits, unless they are also registered users in Bitbucket.

Every user in JIRA should identify themselves as a Bitbucket user, using OAuth, if they want to view the commits and such inside JIRA. If not, they will not be able to see it.

So the userids/usernames for the JIRA and Bitbucket should be same? As we have different ids for JIRA  and Bitbucket for the same user.? DO we need to have the same ids and get it changed in JIRA/Bitbucket?

No. The integration uses OAuth tokens. A JIRA user will identify himself as a Bitbucket user first time and the tokens are generated at that time. It is a one time process.

For Bitbucket JIRA integration,I am using application links. I have created an application link in Bitbucket for JIRA. and now when I edit it to set OAUTH for outgoing it asks me to login as Administrator.  so i log in as Bitbucket admin and it doesnt allow me the acces . 

Please tell me what I am doing wrong?

Does that Bitbucket admin has access in JIRA? If you are configuring the JIRA end of OAuth, you need to login as a JIRA admin.

No the Bitbucket admin and JIRA admins are separate. Even the users have different usernames and passowrds for JIRA and Bitbucket. Is there a link I should follow to incorporate the integration? Right now what I have achieved so far is creating application link for JIRA on bitbucket server. Can you guide me how to move forward? 

"If you are not an admin on both servers you won't be able to set up a 2-way (reciprocal) application link. If you want to go ahead and create a 1-way link anyway, clear the I am an administrator on both instances checkbox."

https://confluence.atlassian.com/adminjiraserver070/using-applinks-to-link-to-other-applications-776637107.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 6 hours ago in Off-topic

Miscellaneous Monday - CreatatronV3

You may remember, not so long ago, that together we invented the most evil of machines: The Destructo5000!  The effects of missing Durian rippled over nations. Complete chaos as goat chee...

55 views 4 2
Join discussion

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