jira-core
jira-core is an independent Rust library for the Jira ecosystem. It is not affiliated with, endorsed by, or sponsored by Atlassian.
Core library for the jira-commands CLI (jirac) — provides the HTTP client, auth, models, and ADF parser as a reusable Rust library.
This crate is released together with the workspace packages in the mulhamna/jira-commands repository.
Usage
[]
= "0.6"
use ;
async
Features
JiraClient— full Jira REST API v3 client- Issue CRUD (create, read, update, delete, transition)
- JQL search with cursor-based pagination (
/search/jql) - Attachment upload (multipart/form-data)
- Worklog management
- Bulk operations and archive
- Raw API passthrough
- Plans API (Jira Premium)
JiraConfig— config loading from file (~/.config/jira/config.toml) and env varsFieldCache— in-memory field metadata cache with TTL- ADF parser — Atlassian Document Format ↔ Markdown conversion
thiserror-based error types
Auth
Credentials are loaded automatically from ~/.config/jira/config.toml (managed by jirac auth login) or from environment variables:
JIRA_URL=https://yourcompany.atlassian.net
JIRA_EMAIL=you@example.com
JIRA_TOKEN=your_api_token