@deploybaseline/jira
v0.14.0
Published
Jira Cloud REST API emulator: REST v3 and v2, issues, transitions, comments, watchers, changelog, JQL search, saved filters, Agile boards, sprints, backlog, rank, epics, projects, users, metadata, admin webhooks, OAuth 2.0 (3LO), app webhooks, and an insp
Readme
@deploybaseline/jira
Jira Cloud REST API emulator: REST v3 and v2, issues, transitions, comments, watchers, changelog, JQL search, saved filters, Agile boards, sprints, backlog, rank, epics, projects, users, metadata, admin webhooks, OAuth 2.0 (3LO), app webhooks, and an inspector. jira.js works against it unchanged.
Part of Baseline: local drop-in replacement services for CI and no-network sandboxes.
Usage
npx @deploybaseline/cli start --service jiraimport { createEmulator } from "@deploybaseline/cli";
const jira = await createEmulator({ service: "jira" });
// Point your SDK at jira.url
await jira.close();import { createCloudClient } from "jira.js";
const client = createCloudClient({
host: jira.url,
auth: { type: "basic", email: "[email protected]", apiToken: "jira_test_api_token" },
});Documentation
- Jira docs: routes, JQL, boards and sprints, OAuth, seed config, webhooks, and current limits
- API reference:
http://localhost:3999/docs/jirawhile the CLI runs (how it works)
License
Apache-2.0
