Jira Service Desk shows Confluence pages as a knowledge base for external users. A page contains a dynamic macro (Table Filter).
Page loads with a working dynamic macro.
Page loads with a static representation of the macro.
Investigating the issue I found that JSD portal renders dynamic macros for external users (who have no access to Confluence) in this way (see screenshot):
But it works as expected for Confluence users.
The second issue is that the app can’t make requests to Confluence in the ACT_AS_USER scope when the macro is rendered for JSD portal:
addon.httpClient(req).asUserByAccountId(res.locals.userAccountId).get // retuns 403
Our customers have trouble with this suddenly broken behavior. The app has 2k Cloud installations. @rwhitbeck, could you take a look at this issue?