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

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,950 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot