2 unstable releases
Uses new Rust 2024
| new 0.3.0 | Mar 3, 2026 |
|---|---|
| 0.2.0 | Jan 29, 2026 |
#517 in Command line utilities
3MB
881 lines
JIT: JIRA Issue Tool
A Rust CLI tool to fetch Jira ticket summaries, details, comments, and sprint tickets from the Jira API.

Installation
cargo install jit-cli
This installs the jit command.
Usage
Standard output
# Using a ticket ID
jit ISSUE-123
# Using a JIRA URL
jit https://your-company.atlassian.net/browse/ISSUE-123
Example output:
Ticket: ISSUE-123
Summary: Fix the login button in Safari
Text output (compact format)
jit --text ISSUE-123
Example output:
ISSUE-123: Fix the login button in Safari
JSON output
# Using a ticket ID
jit --json ISSUE-123
# Using a JIRA URL
jit --json https://your-company.atlassian.net/browse/ISSUE-123
# Include description, metadata, and recent comments
jit --json --full ISSUE-123
# Include linked pull requests
jit --json --include-prs ISSUE-123
# Include comments from a specific date onward
jit --json --include-comments --since 2026-01-01 ISSUE-123
Example output:
{"ticket":"ISSUE-123","summary":"Fix the login button in Safari"}
Detailed Information (Table)
View detailed information about a ticket in a well-formatted table:
# Using a ticket ID
jit --show ISSUE-123
# Using a JIRA URL
jit --show https://your-company.atlassian.net/browse/ISSUE-123
# Include comments (latest 5 by default)
jit --show --include-comments ISSUE-123
# Include all comments and description
jit --show --full --all-comments ISSUE-123
# Include linked pull requests
jit --show --include-prs ISSUE-123
# Include only comments after a date
jit --show --include-comments --since 2026-01-01 ISSUE-123
Detail and Comment Flags
Use these flags with --show or --json when you need more than key+summary:
# Include description only
jit --show --include-description ISSUE-123
# Include comments only (latest 5 by default)
jit --show --include-comments ISSUE-123
# Include description + comments + metadata/timestamps
jit --show --full ISSUE-123
# Include pull requests
jit --show --include-prs ISSUE-123
# Limit number of returned comments
jit --json --include-comments --comments-limit 3 ISSUE-123
# Return all comments
jit --json --include-comments --all-comments ISSUE-123
# Filter comments by creation date (inclusive)
jit --json --include-comments --since 2026-01-01 ISSUE-123
--full is equivalent to combining --include-description, --include-comments, and --include-prs for rich ticket output.
Example output:
TICKET DETAILS
ISSUE-123: Fix the login button in Safari
Type: Bug Priority: Medium
Status: In Progress Sprint: Development Sprint 27
Assignee: John Doe Reporter: Jane Smith
Created: 2023-09-15 Updated: 2023-09-16
Due Date: 2023-09-30
DESCRIPTION
The login button doesn't work properly in Safari browsers.
Steps to reproduce:
1. Open the login page in Safari
2. Click on the login button
3. Nothing happens
Expected: The login form should be submitted.
Actual: Nothing happens when the button is clicked.
Current Sprint Tickets
View your tickets in the current active sprint:
# Equivalent default behavior (no args)
jit
# View all your tickets in the current sprint
jit --my-tickets
# Show sprint tickets with linked PR IDs
jit --my-tickets --include-prs
# Limit the number of tickets shown
jit --my-tickets --limit 5
Example output:
Current Sprint: Development Sprint 27
+-----------+----------------------------------+-------------------+
| Key | Summary | Status |
+-----------+----------------------------------+-------------------+
| PROJ-123 | Implement new login page | In Review |
+-----------+----------------------------------+-------------------+
| PROJ-124 | Fix responsiveness on dashboard | In Progress |
+-----------+----------------------------------+-------------------+
| PROJ-125 | Update API documentation | Done |
+-----------+----------------------------------+-------------------+
Configuration
The tool looks for JIRA credentials in the following locations (in order):
- Custom environment file specified with
--env-fileoption .envfile in the current directory.envfile in~/.config/jit/directory- Environment variables set in your shell
When running for the first time, create a .env file in your home directory at ~/.config/jit/.env with:
JIRA_BASE_URL=https://your-company.atlassian.net
JIRA_API_TOKEN=your_api_token_here
JIRA_USER_EMAIL=your_email@example.com
With this configuration, you can run the tool from any directory on your system.
Setup
- Clone the repository
- Create a
.envfile in the root directory with the following variables:JIRA_BASE_URL=https://your-company.atlassian.net JIRA_API_TOKEN=your_api_token_here JIRA_USER_EMAIL=your_email@example.com - Get a JIRA API token from Atlassian's API tokens page
- Run
cargo build --release
API Token Creation
- Go to https://id.atlassian.com/manage-profile/security/api-tokens
- Click "Create API token"
- Give it a name like "JIRA Title CLI"
- Copy the token and save it in your
.envfile
Dependencies
~11–28MB
~306K SLoC