npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lechnerio/jira-github-cli

v1.3.5

Published

CLI tool to create linked Jira and GitHub issues

Readme

Jira-GitHub CLI (jgh)

A command-line tool to create linked Jira and GitHub issues with support for assignments, labels, and status transitions.

Features

  • Create linked Jira and GitHub issues simultaneously
  • Parse title for assignments (@me), labels (#tag), and status ((Status))
  • Support for explicit flags
  • Automatic user assignment in both platforms
  • GitHub label management
  • Jira status transitions
  • Mixed parsing and flag approach

Installation

  1. Clone or download the project
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Install globally (optional):
# install globally to use `jgh` command anywhere
npm install -g @lechnerio/jira-github-cli

Setup

Configure your Jira and GitHub credentials:

jgh setup

You'll need:

  • Jira URL (e.g., https://your-domain.atlassian.net)
  • Jira email address
  • Jira API token (create one here)
  • Jira project key (e.g., PRJ)
  • Default issue type

GitHub CLI Setup:

⚠️ Make sure GitHub CLI is installed and authenticated!

# Install GitHub CLI
brew install gh

# Authenticate
gh auth login

Usage

Basic Commands

# Setup and Configuration
jgh setup                          # Initial configuration setup
jgh reconfigure                    # Update missing/incomplete settings
jgh config                         # View current configuration

# Create Issues
jgh create "Fix login bug"                                    # Basic issue
jgh create "Fix login bug +bug +urgent @me"                  # With labels and assignment
jgh create "Fix login bug !high +critical @me"              # With priority, labels, assignment
jgh create "Fix login bug (in progress) !medium +backend"   # With status, priority, labels
jgh create "User registration feature !low" -d "Add user registration with email validation" -t Story

# Update Issues
jgh update PRJ-123 "+bug"                     # Add label
jgh update PRJ-123 "-old +new"               # Remove old label, add new label
jgh update PRJ-123 "@me"                     # Assign to yourself
jgh update PRJ-123 "@unassign"               # Unassign from everyone
jgh update PRJ-123 "!high"                   # Set high priority
jgh update PRJ-123 "(in progress)"           # Change status
jgh update PRJ-123 "(done)"                  # Mark as done (closes GitHub issue)
jgh update PRJ-123 "(closed)"                # Close issue
jgh update PRJ-123 "!medium +urgent @me"     # Combine: priority + label + assignment

# List Issues
jgh list                           # Show all open issues with sync status
jgh list mine                      # Show only issues assigned to you

# Time Related Commands
jgh estimate PRJ-123 3h
jgh time PRJ-123 2h "Fixed XYZ"

# Detail with all Infos
jgh details PRJ-123


# Priority Levels
!asap    # Maps to "Express" in Jira, creates "high-priority" label in GitHub
!high    # Maps to "High" in Jira, creates "high-priority" label in GitHub
!medium  # Maps to "Medium" in Jira, creates "medium-priority" label in GitHub
!low     # Maps to "Low" in Jira, creates "low-priority" label in GitHub

# Status Examples (depends on your Jira workflow)
(todo)           # Move to To Do
(in progress)    # Move to In Progress
(review)         # Move to Review
(done)           # Mark as Done (closes GitHub issue)
(closed)         # Close issue (closes GitHub issue)
(rejected)       # Reject issue (closes GitHub issue)

# Issue Icons in List View
🔄  # Synced to both Jira and GitHub (green)
🗂️  # Jira only (yellow)
💻  # GitHub only (white)

# Complex Examples
jgh create "Database migration !high +backend +migration @me (in progress)" -d "Migrate user table to new schema"
jgh update PRJ-456 "!low -urgent +maintenance (review)"
jgh create "Security vulnerability fix !asap +security +critical @me" -t Bug