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 192.168.1.8 /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.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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