Forums

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

Application link between Jira and Bitbucket

akinadeyemo1
Contributor
January 20, 2020

Hi,

I have to use a task in Jira to create a branch of a repository in bitbucket. Before getting this done I wanted to create application link between jira and bitbucket but had an error message that the reciprocal application link is missing on bitbucket.

I have searched for the resolution of this online but seems versions of Jira I have is newer.

Can someone please direct me on how to create application link on Jira Software server 8.5 running on Centos 8. Bitbucket server is version 6.9.1

My jira server and Bitbucket server are running on different VM hosted on a KVM in Centos 8.

Thanks for your help.

 

AA

1 answer

1 accepted

0 votes
Answer accepted
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2020

Hi @akinadeyemo1 

Is Jira or Bitbucket running behind a proxy or SSL ? 


If yes, there might be an issue with it for example, the public certs are not imported into each other application's truststore :

A quick way to narrow down the root cause is to create an unproxied application link following the steps here:

akinadeyemo1
Contributor
January 20, 2020

Hi Adrian,

Thanks for your response, none of the server is running behind a proxy or SSl. They are both on different VM hosted on same server, so authentication is via the bridge connection.

 

Regards,

AA

Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2020

Hi @akinadeyemo1 

Check to see if the application from both VM are able to communicate with each other using telnet 

 

From Bitbucket 

telnet <Bitbucket hostname> <Bitbucket port>

From Jira 

telnet <Jira hostname> <Jira port>

 

If either one returns unsuccessful , you will need to fix the connection between the VM first. 

Like akinadeyemo1 likes this
akinadeyemo1
Contributor
January 21, 2020

Thanks for your response, there was connection from either end using the telnet command. Also when I  put in the url of bitbucket server on browser within Jira VM I am able to connect to bitbucket application and vice versa happens on bitbucket server to connect to Jira application.

To explain better the issue is On jira, when I put in the url of bitbucket and clicked 'create a new link' I noticed that the application url is correct as I have specified i.e. http://<ip_address_bitbucket_server>:7990 BUT the ip address of DISPLAY URL defaults to http://localhost:7990 instead of  http://<ip_address_bitbucket_server>:7990. I was unable to modify it because it was greyed out. This is my main problem.

On creating application link on bitbucket server to connect to Jira, there was no issue, the application url matches the display url and connection went through.

The issue I am having is on Jira, hence I could not proceed without resolving this issue.

 

Thanks for your help.

akinadeyemo1
Contributor
January 21, 2020

Hi Adrian, thanks for your help, just got this sorted out using your first link https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html

with more caution this time. I have changed the connector port to 8081 in server.xml file, have the port opened, edit my server setting, restarted Jira and voila, all was fine. I am now able to connect Jira to Bitbucket.

 

Thanks so much, really appreciate your efforts in helping out.

Suggest an answer

Log in or Sign up to answer