Access Confluence Cloud API for Confluence macro in page displayed from JSD

We have a case where our macro is embedded on a Confluence Cloud page and that page is being display in a Jira Service Desk knowledge base. We use Confluence Cloud specific API calls in the viewer macro and they are not available in JSD, this leaves us unable to load the data required and display it. Is there a known pattern for solving this scenario?

2 Likes

If you are talking about page attachments (images, for example), which aren’t displayed because of confluence session is absent while displaying in JSD KB, the only way to workaround it is to target all the image src’s (and other confluence absolute urls) to your server which will proxied this request to confluence as jwt-signed requests.

3 Likes