explaingit

ankitpokhrel/jira-cli

5,625GoAudience · developerComplexity · 2/5LicenseSetup · moderate

TLDR

A terminal tool for Jira that lets you search, create, and manage tickets from the command line instead of using the Jira website.

Mindmap

mindmap
  root((JiraCLI))
    What it does
      Search Jira issues
      Create and clone tickets
      Transition workflows
      Link issues
    Setup
      API token
      Init config file
      Cloud or self-hosted
    Install Options
      Binary download
      Homebrew
      Docker
      Nix
    Audience
      Developers
      Engineering teams
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Search and browse Jira issues from your terminal without opening a browser.

USE CASE 2

Create, clone, or transition Jira tickets through a workflow using short commands instead of clicking through the UI.

USE CASE 3

Script repetitive Jira tasks like bulk-creating tickets or moving a set of issues to done in a shell script.

USE CASE 4

Switch quickly between multiple Jira projects or instances using separate config files.

Tech stack

GoHomebrewDocker

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a Jira API token and a short init step to create the local config file.

MIT license, use freely for any purpose including commercial projects, as long as you keep the copyright notice.

In plain English

JiraCLI is a command-line tool for working with Jira, the project management software made by Atlassian, without having to use the Jira website. If your team tracks work in Jira and you spend time every day navigating its interface to view issues, create tickets, or move tasks through workflows, this tool lets you do those same things from your terminal. The main draw is speed and convenience. Searching for issues, viewing their details, transitioning a ticket from one status to another, creating new issues, cloning existing ones, and linking tickets together are all available as simple commands. The tool is interactive, meaning you can browse through lists of results and select items with your keyboard rather than typing exact IDs every time. It supports both the cloud-hosted version of Jira and on-premise self-hosted installations. Setup involves generating an API token from your Jira account, setting it as an environment variable, and then running a short initialization command that creates a local configuration file. The tool supports several authentication methods including basic username-and-password, personal access tokens, and client certificates for stricter security environments. If you manage multiple Jira projects or instances, you can maintain separate configuration files and switch between them. The tool is available as a prebuilt binary for Linux, macOS, and Windows, and can also be installed through Homebrew, Nix, or Docker. Shell completion for bash and zsh is included, which means your terminal can suggest command options as you type. JiraCLI is written in Go, released under the MIT license, and actively maintained. It was inspired by the GitHub CLI and supported financially by Atlassian and JetBrains.

Copy-paste prompts

Prompt 1
I installed jira-cli and want to search for all open bugs assigned to me in my project. Show me the command and how to filter results.
Prompt 2
Help me set up jira-cli with my Jira Cloud account using an API token. Walk me through the environment variable and init command steps.
Prompt 3
Write a shell script that uses jira-cli to automatically move all tickets in a sprint from 'In Progress' to 'Done' in one command.
Prompt 4
I want to create a new Jira issue from the terminal with a summary, description, and label. What is the jira-cli command?
Prompt 5
Show me how to use jira-cli to clone an existing ticket and change its assignee and sprint in one step.
Open on GitHub → Explain another repo

← ankitpokhrel on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.