Type-safe functions
Every Jira and Confluence endpoint becomes a named TypeScript function with typed parameters and return values.
@forge-clients is a set of generated, type-safe REST API clients for Atlassian Forge apps.
Instead of hand-writing requestJira('/rest/api/3/issue/PROJ-123'), you call:
import { ForgeFunctionAdapter, asApp, asUser } from '@forge-clients/core';import { getIssue, getCurrentUser } from '@forge-clients/jira/v3';
const adapter = new ForgeFunctionAdapter({ product: 'jira' });
const app = asApp(adapter); // make calls as the Forge appconst user = asUser(adapter); // make calls as the invoking user
const issue = await getIssue(app, { path: { issueIdOrKey: 'PROJ-123' } });// ^^ fully typed as Types.IssueBeanconst me = await getCurrentUser(user, {});Every function is named, typed, and tree-shakeable. Your IDE autocompletes parameters. TypeScript catches mistakes before they reach production.
Type-safe functions
Every Jira and Confluence endpoint becomes a named TypeScript function with typed parameters and return values.
All Forge contexts
Works in Forge Functions, Custom UI, Forge Containers, and Forge Remotes via swappable adapter pattern.
asApp & asUser
First-class support for both app-level and user-impersonation auth contexts on every request.
Tree-shakeable
Individual named function exports — bundlers eliminate unused API functions automatically.
Generated from live specs
Clients are generated from Atlassian’s official OpenAPI specs with post-processing to fix known defects.
Full coverage
1,529 operations across Jira v3, Jira v2, Jira Software, Jira Service Management, and Confluence v1.
| Package | Description |
|---|---|
@forge-clients/jira | Jira Cloud REST API clients (v3, v2, Software, Service Management) |
@forge-clients/confluence | Confluence Cloud REST API client (v1) |
@forge-clients/core | Adapters, auth helpers, error types, retry, pagination |
@forge-clients/generator | The generator CLI — update specs and regenerate clients |
@forge-clients/specs | Cleaned OpenAPI specs (post-processed from Atlassian’s originals) |