It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Configure Application Links Confluence to Jira Edited

Jira 7.5.1 / Confluence 5.8.16

After adding the application link from the confluence to Jira, I see in Jira that outgoing and incoming connection status is connected. Using OAuth. 

In confluence, under the app links I see Incoming Authentication as Configured under OAuth tab, but outgoing is not. Perhaps as a result when I try to insert Jira issue/filter from on the confluence page I get prompted to login & approve to retrieve data from Web Issue Management. If I try to log in it shows these errors 

Authentication failed!

An error occurred while trying to obtain an access token
Failed to get token from service provider. Response status code is '403'

Jira instance is running over HTTPS and can communicate with Confluence server. Confluence runs over HTTP and also can talk to Jira. User base on Jira is using local users while Confluence is using LDAP.

Here is another error I get

Cause

java.lang.NullPointerException
    at Com.atlassian.oauth.serviceprovider.internal.servlet.user.AccessTokensServlet.parseUriFromDescription(AccessTokensServlet.java:217)

What is the best way to get rid of these errors and make Confluence and Jira talk to each other?
Thank you

1 answer

1 accepted

0 votes
Answer accepted

Hi @Alex O ,

The existent application link is not configured correctly, therefore, you could delete the application link from Confluence and Jira, then recreate the application link between the two application using OAuth only.

Please, refer to Application Links Troubleshooting Guide for further information.

If you continue on experiencing issues after recreating application link, you should consider upgrading Confluence, so the Application Link version is compatible with the Jira version you are running. More information on Application links version matrix.

Kind regards,
Rafael

That's exactly what I did several times, but still no luck. Jira-app-links.PNGJira-app-links2.PNGConf-app-links.PNG

Conf-app-links2.PNGDo I need to configure the outgoing auth in confluence? IF yes, how exactly

There is also a warning on the Confluence side

Application 'Web Issue Management' seems to be offline. Click here to Relocate.

Nothing happens if I click the Relocate button. Both Jira and confluence are online and can talk to each other via ping, curl etc

Hi @Alex O ,

Ping is not a valid communication testing in this case, there is much more involved when creating application link.

When creating the application link, what is there any error thrown in the application logs?

Since you are running Confluence v5.8.x, the application link version 4 is not compatible with version 5 used by Jira v7.5.1, therefore, you should consider upgrading Confluence to a version where the application link version is 5.

Kind regards,
Rafael

Thank you @Rafael_Pinto_Sperafico for your help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you