Error forge egress to call an API request

Hi all,
i’m devoloping a gadget in jira cloud to see all the sprint active in the dashboard.
I’m trying to add the API but when I use the any api
(for example const res = await api.asApp().requestJira(route/rest/agile/1.0/board/1/sprint?state=active);) Return to me the error

[REQUEST_EGRESS_ALLOWLIST_ERR: URL not included in the external fetch backend permissions: /rest/agile/1.0/board/1/sprint?state=active. Visit go.atlassian.com/forge-egress for more information.]status: 403

To fix it i added in the manifet this code permissions:

  external:
    fetch:
      backend:
        - my-domain.atlassian.net
   but without result. Can anyone Help me?

@TommasoScorteccia Have you added the required scopes in your manifest? It looks like you need read:sprint:jira-software.

Hi @rcsr , yes in the manifest there is a read:sprint:jira-software
this is a part of the scopes:

  scopes:
    - read:jira-work
    - read:issue:jira
    - read:sprint:jira-software

i read this documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-favourite-get

Hi, I update the API with the @forge 4.0.0 and all works!
To update I use npm install @forge/api@latest and in the package.json updated automatically with "@forge/api": "^4.0.0",

2 Likes