Iam trying to fetch details with the help of below code
import api, { route } from "@forge/api";
const response = await api.requestJira(route`/rest/api/3/applicationrole`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
permissions:
scopes:
- read:jira-work
- read:issue-details:jira
- read:jira-user
- read:group:jira
I have used both asUser and asApp , but it’s returning me the same error
OAuth 2.0 is not enabled for this method , is there any way to make it work or are there any other alternative for this end point
This endpoint returns products associated with groups
From what i read from the documentation this method doesn’t support OAuth 2.0 , is there any method that can get me similar details , or some way through which i can make it work in forge ?