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.

 

 

No problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

455 views 7 5
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