Taking a private BB repository and linking it to a newly created project on Jira
Asked by RVS Development Team:

We have begun our experiences with Atlassian by initially only focusing on Bitbucket. As per steps at the time we created a new account for Bitbucket which also became our primary Atlassian authentication.

Focusing on source control we familiarized ourselves with Bitbucket specifically and created 2 private repositories and actively use them. We have invited additional people of our organization using their company email (for internal development same domain as the primary account) to join in access to the repositories. I am not sure if it was when we initially began or after Bitbucket made some changes, but project selection became noticeable and I believe a requirement while setting up a repo. Not understanding the specifics for projects at that time and not using Jira, we just made the names close to the repo name. This were also marked as private.

Now we have moved into a need for a solution such as Jira Cloud, in our case specifically for tracking project tasks, responsibility, communication, and time estimation.

We attempted a process yesterday where we created the Jira trial using the same primary account as Bitbucket which happens to be the Primary Atlassian account. After doing so we created a new project file in Jira. At that point, I think we expected to see the new project show up it in BitBucket. No such luck. After reviewing a few articles we successfully linked (we think) Jira Cloud and Bitbucket Cloud. We know that it worked at least partially in that the main account in Jira lists the Bitbucket repos.

What is confusing and unexpected is that when logged into Bitbucket now each of our repositories still displays its project as the private one created originally (has a lock symbol) and the project that was created in Jira is not available for selection to link to the specific repo.

We believe we are missing something. The goal is to connect each Bitbucket repo with a Jira project to in order make full use of the products as designed. An additional side not to mention, this is the behavior described for the primary Atlassian account, setting up the individual invited users maybe a struggle in itself.

Any member who took the time to read this long explanation and can explain what we may be doing incorrectly or point us to help documentation that will provide us a better understanding of how to accomplish this correctly would be a big time save and appreciated. Until then we will be sifting thru articles trying to learn more and resolve our own issue.

Thanks in advance for any help

Jamy Williams


Answers:
author: Theodora Boudale
body: Hi Jamy,

I'm afraid that it is not possible to sync/link projects between Bitbucket Cloud and JIRA.

If you [set up the integration](https://support.atlassian.com/bitbucket-cloud/docs/use-bitbucket-cloud-and-jira-together/) we offer, you can do things like:

* reference JIRA issue keys in commit message and PRs (and they automatically become a link)
* after you do this, you can see in a JIRA issue associated commits and PRs
* create JIRA issues from Bitbucket
* use smart commits in order to transition JIRA issues, comment on issues or record time tracking information against issues

You can find documentation articles on the integration here:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-bitbucket-cloud-and-jira-together/>

However, JIRA projects are not linked to Bitbucket projects.

We have a feature request for this in our issue tracker that you can vote for, if this is something that you'd be interested in:

* <https://jira.atlassian.com/browse/BCLOUD-20401>

You can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates. Implementation of new features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates are posted in the feature request.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

jira-cloud