jt is a CLI tool for viewing and manipulating JIRA issues.

jt - jira-tool

jt is a CLI tool for viewing and manipulating JIRA issues.

One common example usage to transition an issue to a new status:

jt "In Progress" TEAM-1234

If you are in a git repository where the topic branch's name matches [whatever-]team-1234[-whatever], you can omit the issue argument as it is implied.

Yeah, we even let you use underscores.

Common Usage:

jt [new state] [issue number]

Note:

We case insensitively look for valid transition states in your issue's workflow. If you give tRiAgE we will find Triage, if that is a valid transition for your issue's current status.

If no valid transition state matches exactly, we then try matching against possible states that have had their whitespace removed. If you give "todo" we will find possible state To Do.

If still no valid transition state is matched, we will then try partial match, so that "done" will match possible state Deployed / Done.

This will otherwise only transition an issue to a matching valid state according to your JIRA board's workflow.

Other Available Commands:

command what it does
onit Self-assign and transition an issue to In Progress status
take Assign an issue to you
wti What The Issue? - View an issue in Github Markdown
config Will save the JIRA token, email, and tenant url to a config file
completion generate the autocompletion script for the specified shell
help Help about any command

Shared Flags:

flag what it does
--config string config file (default is $HOME/.config/jira)
-h, --help help for jt

Tips

Use "jt [command] --help" for more information about a command.

Installation

Homebrew users can do this:

brew tap StevenACoffman/jt
brew install jt

Go developers with $HOME/bin in their $PATH can run mage if they have mage installed.

Alternatively, go run mage.go will work even without mage installed, but it will still put the binary in $HOME/bin.

Future Development

Currently, this tool is all JIRA, other than translating Atlassian Markup into Github Markdown.

I would like to combine JIRA + Github steps. For instance, moving a story to In Progress, while also creating a Github Pull Request in Draft.

It would be nice if it took the JIRA story's description's translation as Github Markdown and used it in creating the Github Pull Request.

The programming is easy, but it is tricky to find unambiguous commands that fit all possible workflows.

Alternatives

There is another jira cli that is quite sophisticated, featureful, and maybe complicated, but I found custom workflow transitions either didn't work, or were cumbersome.

Credit Where Credit is Due

This tool uses some excellent libraries and tools like andygrunwald/go-jira, spf13/cobra, mage, moul/http2curl and bubbletea

Owner
Steve Coffman
•ა꧁シ He / Him シ꧂ა• 【ツ】⬆️
Steve Coffman
Similar Resources

🙌 Bulk-upload GitHub Issues

🙌 Bulk-upload GitHub Issues

🙌 Bulk-upload GitHub Issues

Jul 23, 2021

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Jan 12, 2022

Symfony-cli - The Symfony CLI tool For Golang

Symfony CLI Install To install Symfony CLI, please download the appropriate vers

Dec 28, 2022

bcrypt-cli is the CLI tool for hashing passwords with bcrypt.

bcrypt-cli bcrypt-cli is the CLI tool for hashing passwords with bcrypt. Install go install github.com/ryicoh/bcrypt-cli Usage It can be used like bas

Jan 9, 2023

GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

This is the official CLI tool to operate with Getting Things Done Framework. How

Feb 14, 2022

This tool is a CLI-interactive tool for TA who use eeclass platform

NTHU eeclass TA helper. This tool is a CLI-interactive tool for TA who use eeclass platform. It helps TA to download all the submitted homework, and use CSV to record the score and comment, and upload CSV score directly to the eeclass platform with just 2 Enter key!

Dec 11, 2021

Go-file-downloader-ftctl - A file downloader cli built using golang. Makes use of cobra for building the cli and go concurrent feature to download files.

ftctl This is a file downloader cli written in Golang which uses the concurrent feature of go to download files. The cli is built using cobra. How to

Jan 2, 2022

Go-api-cli - Small CLI to fetch data from an API sync and async

Async API Cli CLI to fetch data on "todos" from a given API in a number of ways.

Jan 13, 2022
Related tags
CLI tool for manipulating Ceph's upmap exception table.

pgremapper When working with Ceph clusters, there are actions that cause backfill (CRUSH map changes) and cases where you want to cause backfill (movi

Aug 10, 2022
Interactive CLI helper for creating git branches with JIRA Links and some text

bb (better-branch) Interactive CLI helper for creating git branches with JIRA Links and some text Still in development? Yes How it works? This tiny ut

Aug 18, 2022
A tiny cli command/daemon for syncing toggl time entries with Jira

toggl-sync A tiny cli command/daemon for syncing toggl time entries with Jira Installation Install the app via brew package manager. brew tap timemate

Nov 30, 2021
Experimental go cli tool to track your open issues and PRs.
Experimental go cli tool to track your open issues and PRs.

git-sum cli tool See open issue and pull request counts for each repository of the user. Installation go install github.com/suadev/git-sum@latest Usa

Jan 21, 2022
Helper tool to create and assign fix versions in Jira

Jira Helper Helper tool to interact with Jira from CI/CD scripts. Its main purpose is to create and assign version based on GitHub releases to Jira ti

Oct 22, 2022
ghcv-cli makes it easy to view the user-created issues, pull requests, and repositories in the terminal.
ghcv-cli makes it easy to view the user-created issues, pull requests, and repositories in the terminal.

ghcv-cli ghcv-cli makes it easy to view the user-created issues, pull requests, and repositories in the terminal. About Show a list of pull requests c

Mar 13, 2022
🔥 [WIP] Interactive Jira Command Line
🔥 [WIP] Interactive Jira Command Line

JiraCLI Interactive Jira CLI ?? This project is still a work in progress ?? This tool mostly focuses on issue search and navigation at the moment. How

Jan 4, 2023
Submit timesheets to Jira from the command line
Submit timesheets to Jira from the command line

JiraTime jiratime makes it easy to submit worklog records to Jira quickly from the command line. It accepts timesheets on standard input so works well

Dec 5, 2022
A tool to sent comments to Issues or Pull Requests in Github from CI tools.

CommentCI A tool to sent comments to Issues or Pull Requests in Github from CI tools. Usage Required environment variables: GITHUB_COMMENT_USER - User

Apr 10, 2022
A command line utility for labeling GitHub issues and pull requests

A command line utility for labeling GitHub issues and pull requests

Jan 8, 2023