Application link Jira to BitBucket Server via nginx https all in docker

Hi,

  I am trying to do the link between Jira and Bitbucket Server, but no luck.

From BitBucket Server to Jira the temporary link seems to go though. But when it tries to create the link back the bitbucket server is not responding.

If I try to continue, I am asked to enter the information manually. That Is where I have no idea what to put.


You are creating a link from:

Application URL: https://jira.me
Name: MySuperEmpire JIRA
Application: JIRA

To this application:
Application URL: https://git.me
Application Name: MySuperEmpire GIT
Application Type: Bitbucket Server
Service Provider Name: ???
Consumer key: ???
Shared secret: ???
Request Token URL: ???
Access token URL: ???
Authorize URL: ???
Create incoming link: ??? y/n?

 

Both Jira and BitBucket server are running in docker.

They are only accessible through HTTPS through another container running nginx.

both https://jira.me and https://git.me work great by themselves.

 

For some reason, git can see jira, but not the other way around.

The jira container can see https://git.me properly.

Do I have another port to configure on nginx ? Host entries? A server.xml setting?  Anything?

 

Any idea would be greatly appreciated.

 

 

1 answer

You'll have to download and import the ssl cert and import them into the JVM that is running the applications.

https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html

Add these lines to server.xml

proxyName="jira.me"
scheme="https"
proxyPort="443"

and do the same for bitbucket

proxyName="bitbucket.me"
secure="true"
scheme="https"
proxyPort="443"

Restart both applications after importing and adding the changes.

Thank you for the answer,

I was apparently running a  'not so latest version'Adding the lines 

upgrading, along with adding the server.xml lines got me going.

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,802 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot