This repository uses uv to manage and run the application.
You can run the CLI tool directly from GitHub without cloning the repository or manually setting up an environment:
uvx --from git+https://github.com/jhutar/jira_query.git jira-cli --help
If you have cloned the repository, you can run the tool in its development environment using:
uv run jira-cli --help
To install jira-cli system-wide into an isolated environment:
uv tool install git+https://github.com/jhutar/jira_query.git
Or if you have cloned the repository locally:
uv tool install .
The application stores its configuration file at ~/.config/jira-cli/config.yaml (supporting the $XDG_CONFIG_HOME standard).
To configure the application, run the interactive setup wizard:
jira-cli setup
This wizard will ask for:
- Your Jira instance URL (defaults to
https://redhat.atlassian.net/) - Your Username / Email
- Your Jira Personal Access Token (To get your token, go to Jira -> your profile -> Personal Access Tokens)
Alternatively, you can manually copy and customize the configuration template from config.yaml:
mkdir -p ~/.config/jira-cli
cp config.yaml ~/.config/jira-cli/config.yaml
Generate to stdout:
jira-cli
If template generates MarkDown, convert to HTML like this:
sudo dnf -y install multimarkdown
jira-cli | multimarkdown
And also put it into clipboard so you can paste to any office suite editor:
sudo dnf -y install xclip
jira-cli | multimarkdown | xclip -sel clip -t "text/html"