Hello there. Having weird problem with Service Desk - Confluence integration.
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
Can anyone suggest somethink?
With appreciation
Cant figure out why its happening. Changed Applink to impersonation and it works correctly.
Check the following https://confluence.atlassian.com/servicedeskcloud/serving-customers-with-a-knowledge-base-732528995.html and troubleshooting section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have any update on this ?
Im facing the same problem.
Confluence - 6.1.2
Jira Serivce Desk - 3.8.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solution is to have OAuth with impersonate enabled on both sides.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Avinash Singhbut what if the 2 applications have different set of users?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.