UI Kit components
UI Kit hooks
Forge bridge APIs
Jira bridge APIs
Upgrade UI Kit versions
Previous versions

requestJira

Previously, you’d need to define a resolver to use the requestJira bridge method. With the release of Forge bridge version 2.0, custom UI and UI Kit can now use the method directly.

The requestJira bridge method enables Forge apps to call the Jira Cloud platform REST API as the current user.

Function signature

1
2
function requestJira(
  uri: string,
  options?: RequestInit,
): Promise<Response>

Arguments

Returns

Example

1
2
import { requestJira } from '@forge/bridge';

const response = await requestJira('/rest/api/3/issue/ISSUE-1');
console.log(await response.text());

Rate this page: