Hi,
I have been using the requestJira bridge method trying to retrieve information about issues.
https://developer.atlassian.com/platform/forge/custom-ui-bridge/requestJira/
All requests I have been making have returned the status 403 (Forbidden).
import { requestJira } from '@forge/bridge';
const response = await requestJira( `/rest/api/3/issue/` + key);
response.status is 403.
I have also tried to use the requestJira method to retrieve other information and have received the same response status.
const test = await requestJira( `/rest/api/3/myself`);
const response = await requestJira(`/rest/api/3/search?expand=changelog&maxResults=100&startAt=` + i.toString() + `&jql=` + jql);
These are the permissions in the manifest.yml file.
permissions:
scopes:
- read:issue-details:jira
- read:issue-security-level:jira
- read:issue.changelog:jira
- read:user:jira
- read:status:jira
- read:audit-log:jira
- read:avatar:jira
- read:field-configuration:jira
- read:issue-meta:jira
- read:issue:jira
- read:issue.vote:jira
Any help with this issue would be greatly appreciated.
Thanks!