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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
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