Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
/ jira-ohsofancy Public archive

Smarty pantsy JIRA issue creation on the command line

License

Notifications You must be signed in to change notification settings

chmouel/jira-ohsofancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecov License PYPI

JIRA - OHSOFANCY

A collection of tools for JIRA. It aim to get your JIRA tasks done as quickly as possible.

  • jira-new-issue -- A simple tool to create a Jira Issue and save you 3 minutes and 37 seconds back to your life each time you are creating an issue on the web interface. This will use fzf for quick filtering and spin up your $EDITOR so you can confortably type your issue description.

REQUIREMENT

INSTALL

You can install the latest release version directly from the https://pypi.io repository :

python3 -mpip install jira-ohsofancy

Or if you want to use the latest version from GitHUB you can do :

python3 -mpip install git+https://github.com/chmouel/jira-ohsofancy

You can as wel install the zsh completion file to your fpath as documented on this stackoverflow answer to get the zsh completion. The completion tries to be pretty fancy too, it will complete components, version of the specified project and do the right thing when you specify another project than the default one.

Configuration

You need to have a file called ~/.config/jira.ini with this kind of content :

[jira]
server=https://issue.redhat.com/
username=joe # optional if you use token
password=jane # optional if you use token
token=token # optional if you use username/token

Most command can be overriden by environmenet flags for example for example JIRA_PROJECT will be used unless specified with the --project flag.

See --help for a complete list of environment variables that can be specified.

Usage

Unless you override it with a flag (see --help for details) it will ask you interactively with fzf what's needed to create an issue.

If you specify the --description-file it will use the file content as the description.

Demo

Screen.Recording.2023-01-23.at.15.56.55.mov

Authors

Chmouel Boudjnah

License

Apache 2.0