our customer Polo Motorrad (https://polo-motorrad.atlassian.net/) wants to synch their JIRA with our Bitbucket repo (https://bitbucket.org/beexcellent/polo/) so that they are able to see the commits on the JIRA issue on their side.
Is there an option to only grant them access to one repository?
I only found the option to link the JIRA with our Bitbucket cloud account, but then they would have access to all other repositories and admin rights which we don't want.
Is it enough if I create on our Bitbucket account an additional group only for this repo and grant them access only to this group?
When you create such an integration, all repos owned by this workspace will be listed in the DVCS accounts page of the JIRA Cloud instance. I'm afraid that it is not possible to link a specific repo only.
However, JIRA admins that can see this list, will still not be able to see the content of any repo that they have not been given access to in Bitbucket Cloud. They will see all workspace repos listed, but if they try to open a repo they don't have access to, they will see a message "We can't let you see this page".
You can create a special User Group in the Bitbucket workspace and grant access to this repo only, but this won't affect the integration.
I imagine that you may not want them to see the names of the rest of the repos show up either. In this case, it is possible to remove them from the DVCS accounts page in JIRA. However, I am unsure if they show up again later, I will check with our development team and let you know when I have an update.
Another thing to consider is that the integration between a JIRA Cloud instance and a Bitbucket workspace must be done from a user that has admin rights in both JIRA and the Bitbucket workspace. Do you have admin access to the customer's JIRA instance? Or is there any user that has admin access both to this JIRA Cloud instance but also to the workspace you mentioned?
Many thanks for the quick update. I am also a bit afraid that your system is not able to do such a simple administration task.
Nevertheless, I have admin rights in both systems, and yes, it is not an option that a customer is able to see other repositories even if it is only the name and I am very interested in the answer from your dev team.
Thanks a lot,
I checked with our development team and here is what I found out: if you connect a JIRA Cloud instance with a Bitbucket workspace, then all repos will be listed in the DVCS accounts page in JIRA. If you remove certain repos from this page afterwards, they will not show up again later unless the whole integration is removed and then re-added. This is how it works at the moment, but there is a possibility it may change in the future.
At the moment, this could be used as a workaround. However, it's important to take into account that another JIRA admin may view the list of repos (their names) before you remove them, if the integration is removed and re-added then all the repos will show up again, and also that the ability to remove repos from this page may get removed in the future.
The integration is focused on linking JIRA with a Bitbucket workspace rather than single repos. However, I can most certainly open a feature request for this, for our product managers and development team to take into account. Please feel free to let me know if you'd like me to proceed with this.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events