I wanted to get some data using the forge graphql api and I get a 403.
Here is a sample code
const response = await api.asUser().requestGraph(query, {}, {
'Accept': 'application/json',
'X-ExperimentalApi': 'IssueDevelopmentInformation',
});
const responseData = await response.json();
console.log(responseData);
This gives 403. According to the forge graphql document I need to add external permissions to the manifest for the forge to use graphql jira:atlassian-external. However when I set it and try to deploy I get this permission does not exists.
Here is the error I get when I deploy
error Invalid 'scopes' permission in the manifest.yml file - 'jira:atlassian-external'. Learn more about permissions at: https://go.atlassian.com/forge-permissions. valid-permissions-required
Please can someone help me address this issue. There was similar issue raised before I am linking that also GraphQL Forge API not valid scopes for jira:atlassian-external