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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 views 4 9
Read article

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