I tried posting this earlier but it looks like it never made it.
I have a dashboard gadget to gamify sprint progress. It's been working fine and then this morning it suddenly stopped. It now displays:
For Gamify Personal Progress to display, you need to grant it access to Atlassian apps on your behalf. [Allow access]
(And clicking allow access and going through the steps changes nothing, I tried.)
I checked the logs and it started happening at Oct 22, 2025 16:06:35.509 UTC (That's when we came into work this morning. There was no other error in the last week. It looks like something happened overnight.)
The logged error is:
[NEEDS_AUTHENTICATION_ERR: Authentication Required] {
status: 401,
serviceKey: 'atlassian-token-service-key',
options: undefined
}The application is deployed to Forge and uses the asUser routing to allow it to find the user's own items. However, I did a re-deploy replacing all asUser with asApp and that did not resolve the issue.
My endpoints in use are:
route`/rest/agile/1.0/board/${BOARD_ID}/sprint?state=active`
route`/rest/agile/1.0/board/${BOARD_ID}/project`
route`/rest/api/3/search/jql`
route`/rest/api/3/field`The scopes in the manifest.yml are:
- read:sprint:jira-software
- storage:app
- read:jira-work
Once again, this has been working and there were no changes to permissions, nor was there any re-deploy of the code. It just broke overnight.
I've already tried altering the permissions, refreshing my personal API key and re-deploying, and changing all requests to asApp instead of asUser. None had any impact. Clicking the Allow access button has no effect.
Any other ideas?
Thanks!