Hello Atlassian team,
I’ve noticed an issue with just generated with Forge CLI forge create Dashboard Gadget (“Hello World”,
Custom UI option). When the gadget is accessed by an anonymous (not logged-in) user, it results in an Error (see attached screenshot)
In Atlassian Connect, the scenario for dashboard item worked differently: we could show some public content for the anonymous users, and the response simply depended on the logic implemented in the app. This made it possible to handle anonymous users gracefully.
Expected behavior:
-
No ‘Try refreshing the gadget‘ message should occur. At least it’s confusing.
-
The gadget should render according to the app logic, even if the user is not authenticated.
Manifest.yml:
modules:
jira:dashboardGadget:
- key: guest-user-gadget2-hello-world-gadget
title: guest-user-gadget2
description: A hello world dashboard gadget.
thumbnail: https://developer.atlassian.com/platform/forge/images/icons/issue-panel-icon.svg
resource: main
edit:
resource: main
resources:
- key: main
path: static/hello-world/build
permissions:
content:
styles:
- unsafe-inline
app:
runtime:
name: nodejs22.x
memoryMB: 256
architecture: arm64
id: ari:cloud:ecosystem::app/8589b015-8d11-4ade-8274-2b170d4886f2
Could you please confirm if this is an intended change or a bug in the Forge gadget implementation?
Thank you in advance.
Best regards,
Oleh
