Integrating Jira Service Desk and Confluence

Hello there. Having weird problem with Service Desk - Confluence integration. 

  • Server 1 - JIRA software + Service Desk
  • Server 2 - Confluence

They are both fine connected via applink with Oauth (no impersonation, because we use different user bases).

No problem between JIRA and Confluence, as is said. They are correctly connected to each other and i can, for example link JIRA issue to confluence page and link confluence article to issue in Jira. So they are fine.

Problems occured when i trying to link confluence space to service desk.

In the web interface it throws this erros, when trying to choose space (which are not visible)

image2017-3-14 9:50:12.png

 And error log says that 

2017-03-14 09:34:19,651 https-jsse-nio-8443-exec-7 ERROR Manager 574x7140x1 14obaqn /rest/servicedesk/1/servicedesk/TP/kb/d9e1d013-e4b7-3836-b426-f07f8f7077fa/space [c.a.s.i.api.applink.BaseAppLinkResponseHandler] Applink request has returned an error with status code 401: {"message":"Client must be authenticated to access this resource.","status-code":401}

Ofc i am correctly authentificated both in JIRA and Confluence. Also, this user have admins permissons for Service Desk project and Confluence space.

Hovewer, if i change confluence security settings to allow anonymous users access to Confluence and space that i want to link, it link correctry and doesnt throw any errors. But this is not suitable for me, because this application is faced outsite of the firewall and i dont want whole internet viewing my company stuff smile

Can anyone suggest somethink?

With appreciation

2 answers

Thanks. I've already seen that.

After digging even more i found that requests to confluence beeng handly by 'anonymous' user.

And i think that i affected with this bug

Do you have any update on this ?

Im facing the same problem. 

Confluence - 6.1.2

Jira Serivce Desk - 3.8.2

Solution is to have OAuth with impersonate enabled on both sides.

@Avinash Singhbut what if the 2 applications have different set of users?

This was the feedback from Atlassian Support:


As required by Confluence, the application link has to be configured with OAuth with Impersonation for this feature to work. It doesn't matter even if you have a different set of users in JIRA Service Desk and Confluence.

By using the impersonation, both applications should be using the same user session token, hence should respect permission applied in one application to the other. Therefore with this setting you should be able to have the permission in Confluence applied to JIRA when trying to select a Knowledge Base page from the Service Desk project setting page.

This is better explained in Serving customers with a knowledge base.


Cant figure out why its happening. Changed Applink to impersonation and it works correctly.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,653 views 18 21
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