Previously, you'd need to define a custom UI resolver
to use the requestJira
bridge method. With the release of Forge bridge version 2.0,
you no longer need to do this.
The requestJira
bridge method enables UI Kit and custom UI apps to call the
Jira Cloud platform REST API as the current user.
1 2function requestJira( uri: string, options?: RequestInit, ): Promise<Response>
1 2import { requestJira } from '@forge/bridge'; const response = await requestJira('/rest/api/3/issue/ISSUE-1'); console.log(await response.text());
Rate this page: