Unable to link Confluence 5.4.1 to JIRA 6.1.5

I'm trying to link our Confluence and JIRA servers together so that we can refer between them. My setup is as follows,

  • JIRA 6.1.5 on one server
  • Confluence 5.4.1 on another separate server
  • Users are internal to each application i.e. no LDAP, Crowd, or use of JIRA User Server for Confluence

I have added the Application Links in each to point to the other. For both Incoming and Outgoing Authentication in each I enabled Trusted Applications and OAuth.

My account on both has the same username and password and I have full Admin rights on both.

So far, when testing, I can create a link in JIRA that links to a page in Confluence no problem.

But when I attempt to use the JIRA Issue macro in Confluence, it never allows me to create a link. I've tried typing in an issue key for an issue which I created in JIRA and I've also tried creating a new issue.

When I enter the issue key, TST-4, I get the error message saying "The JIRA server didn't understand your search query". If I try to create a new issue, the list of Projects and Issue Types are not populated and the Insert button just ignores my presses.

I suspect its a permissions issue but considering that I have the maximum rights possible on both servers, I can't figure out what is missing??

4 answers

1 accepted

1 vote
Accepted answer

With the help of the support team, it turned out to be two problems.

1) The time between the JIRA and Confluence servers was not synchronised. No idea why, but there was a 2 hour time difference between the two servers so I set up ntpd to take care of that.

2) Links were missing in the authentication configuration. The Confluence page doesn't say it, but the JIRA page (https://confluence.atlassian.com/display/JIRA044/Configuring+Trusted+Applications+Authentication+for+an+Application+Link) describes what is needed.

Since its not entirely clear which URLs are required and where, I added all of the following to both ingoing and outgoing authentication on both Confluence and JIRA which fixed my problem,



The support desk have added a feature request (https://ecosystem.atlassian.net/browse/APL-1187) for the JIRA and Confluence to auto-configure themselves with each other to reduce the problems in the future.

Thanks, this fixed the problem for me!

0 votes
Andy Nguyen Atlassian Team Jan 23, 2014

Hi Richard,

I suggest that you create a support request ticket in our support site and provide us with the Support Zips for both JIRA and Confluence in a sense that we can assist you better.



What if you add "/rpc/xmlrpc"

in the URL patterns as explained in


(the documentation missing some points).

Thanks for the tip but it didn't work :-(

Further investigation has shown that when doing a search for the issue, I get a '400 - Bad Request' response with a description 'The request sent by the client was syntactically incorrect (Bad Request).'

In the actual headers the X-AppPath is,


There is a security vulnerabiluty recently patched in JIRA (>6.1.3) that confluence needs in order to use trusted apps.

Versions 5.3.4, 5.4 and 5.4.1 are not vulnerable but require patches for compatibility purposes in order to be able to connect to patched or upgraded versions of JIRA and other Atlassian products. You do not need to patch these versions if you are not using Application Links with Trusted Applications authentication configured.


I would try applying the patch to Confluence so JIRA will trust it again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,180 views 5 10
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