Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Connect Jira Cloud and Bitbucket hosted of different instances

John Limmo November 28, 2023

We would like to integrate our Jira Cloud project with a Bitbucket repo. Jira Cloud project is hosted on instance X while Bitbucket is hosted on a separate instance Y. Is there a way to connect the two ? 
I followed everything here and here without success.

Code not working.png

1 answer

0 votes
Trudy Claspill
Community Champion
November 28, 2023

Hello @John Limmo 

Welcome to the Atlassian community.

First, let us clear up what you mean by the apps are hosted on instances X and Y.

Are you using self-hosted versions of the products, or the Atlassian SaaS hosted versions of the products?

For Bitbucket is the URL https://bitbucket.org or something else?

For Jira is the base URL https://something.atlassian.net, or something else?

It is normal for Jira and Bitbucket to be "hosted" separately. However we have to clarify if you are using self-hosted or SaaS products to direct you to the right information about integrating them.

John Limmo November 29, 2023

Thank you Trudy, I can confirm that Bitbucket is on https://bitbucket.org/xxxx and Jira is on https://yyyy.atlassian.net.

Trudy Claspill
Community Champion
November 29, 2023

Given that, the first article you referenced does not apply, because it concerns Jira Server, not Jira Cloud.

https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-connect-a-Bitbucket-repository-with-a-Jira-Cloud/qaq-p/582105

The second article you referenced

https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-connect-a-Bitbucket-repository-with-a-Jira-Cloud/qaq-p/582105

... does apply to Bitbucket Cloud and Jira Cloud. It is unclear if the problems in that post match the problems you are encountering. I also notice that when the post asks about Bitbucket and Jira Cloud, many of the answers refer to people having success connecting Bitbucket Server and Jira Server.

That article does reference Atlassian documentation for integrating the two Cloud products:

https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/

Have you successfully executed the steps outlined in that document? If not, which steps were you not able to complete, and what happened when you tried to complete them?

I see in your image that there is a "!" icon next to the Development label. If you hover over that icon, is there a message displayed?

John Limmo November 29, 2023

I used https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/ and it worked for Bitbucket under my personal account. I can't see repos from other Bitbucket instances (I have been assigned admin rights). This is when I access project>Toolchain>Bitbucket>Add repo. Thus the "!" icon next to the development label. See attached photo.
I am wondering if the feature allows integration across separate instances.
repo not available.png 

Trudy Claspill
Community Champion
November 29, 2023

Let us clear up some terminology.

What do you mean by a Bitbucket "instance"?

https://bitbucket.org is the Bitbucket Cloud instance.

The instance contains Workspaces.

Workspaces contain repositories.

The steps in the document describe how to connect a Bitbucket Cloud Workspace to Jira Cloud. 

When you say "instance" do you actually mean Workspace?

And, if you do, when you say you can't see repos from other Bitbucket "instances", did you execute the steps in the document to connect those other "instances" (Workspaces) to the Jira Cloud instance?

John Limmo November 29, 2023

You are correct. In summary, the Jira Software Cloud (Jira workspace) is managed by our company while the the Bitbucket Cloud (workspace and repo) is managed by another company. I hope this is clear.

Trudy Claspill
Community Champion
November 29, 2023

Did you execute the steps in the document to connect the Bitbucket Workspaces managed by the other company to your Jira Cloud instance?

John Limmo November 30, 2023

Please share the link to the document you mentioned above "document to connect the Bitbucket Workspaces managed by the other company...."

Trudy Claspill
Community Champion
November 30, 2023

It was in my second response. I pulled it from the second article you referenced in your original post.

https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/

John Limmo December 1, 2023

I could not achieve the steps. Let me check the access and then get back.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events