Skip to main content

A TUI for interacting with Atlassian Jira from your terminal.

Project description

JiraTUI

GitHub Actions Workflow Status CodeQL PyPI - Python Version GitHub Release PyPI version AUR package Static Badge

A Text User Interface (TUI) for interacting with Atlassian Jira directly from your shell.

The initial screen of JiraTUI

Introduction

JiraTUI is built using the Textual and Rich frameworks.

It supports the Jira Cloud Platform REST API v3. Starting with v1.1.0 JiraTUI supports Jira Cloud Platform REST API v2 as well.

Installation

The recommended way to install the application is via uv:

uv tool install jiratui

Alternatively, you can install it using pip:

pip install jiratui

or pipx:

pipx install jiratui

For Arch Linux (btw) the package is available in AUR

yay -S jiratui-git

You can also install using homebrew

brew install jiratui

Usage

After installing the package, you can run the CLI tool with the following command:

jiratui

This will show you the available commands for the CLI tool

Usage: jiratui [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  comments  Use it to add, list or delete comments associated to work items.
  config    Shows the location of the configuration file.
  issues    Use it to search, update or delete work items.
  ui        Launches the Jira TUI application.
  users     Use it to search users and user groups.
  version   Shows the version of the tool.
  themes    List the available built-in themes.

You can check the installed version with

jiratui version
1.0.0

Settings

Before using the application you need to provide the basic configuration. All the settings can be provided in a yaml file.

The application uses the XDG specification to locate config (and log) files. The default name of the config file is config.yaml. You can override the location of the config file via the env variable JIRA_TUI_CONFIG_FILE. The application will attempt to load the config file in the following way:

  1. If the variable JIRA_TUI_CONFIG_FILE is set it will use the file specified by it.
  2. If not, if XDG_CONFIG_HOME is set then it will load the file $XDG_CONFIG_HOME/jiratui/config.yaml.
  3. If not, it will attempt to load the file from $HOME/.config/jiratui/config.yaml.

WARNING: Starting with version v1.0.0 the application no longer supports using the env variable JIRA_TUI_ENV_FILE to define the .env file with configuration settings. Instead, all settings must be defined in the config file as described below.

Setting API Credentials

You must provide the following values to connect to your Jira instance API:

  • jira_api_username: the username for connecting to your Jira API.
  • jira_api_token: the token for connecting to your Jira API. This can be your Personal Access Token (PAT).
  • jira_api_base_url: the base URL of your Jira instance API.

Example: Assuming that your config file is located at $XDG_CONFIG_HOME/jiratui/config.yaml you can add the following:

jira_api_username: 'bart@simpson.com'
jira_api_token: '12345'
jira_api_base_url: 'https://<your-jira-instance-hostname>.atlassian.net'

Tip: The application provides a sample config file called jiratui.example.yaml that you can use to define yours.

Choosing the Jira Platform

Jira is available via the Jira Cloud Platform's API and via the Jira Data Center's API (aka. Jira on-premises). JiraTUI can connect to both platforms, although the support for Jira Data Center's API is limited.

By default, JiraTUI tries to connect to Jira Cloud Platform's API. However, if you want to use JiraTUI with your organization's on-premises installation you will need to configure this via the config file. To do this simply set the following:

cloud: False

Choosing the API version

By default, JiraTUI uses the Jira REST API v3. This is good when your Jira instance runs in the cloud. However, Jira also offers an on-premises installation mode and in these cases the version of the API may not be v3 but v2 instead. To address this JiraTUI lets you choose which version of the API you can use.

To set the version of the API update your config file to include:

jira_api_version: 2

Important: when cloud: False JiraTUI will use the correct version for the API and ignore the value of jira_api_version. In other words, jira_api_version is only applicable when cloud: True.

Running the Application UI

Once you have provided the necessary settings, you can run the application's UI with the following command:

jiratui ui

If you are using a custom config file, run:

JIRA_TUI_CONFIG_FILE=/path/to/cutom-file/my-file.yaml jiratui ui

CLI Interface

In addition to the ui command, the CLI tool offers several commands to help you manage issues, comments, and users.

Searching for Issues

To search for work items in the project SCRUM, use the issues search command and pass the --project-key argument with the (case-sensitive) project key.

Example: searching for issues of the project SCRUM

$ jiratui issues search --project-key SCRUM

| Key     | Type | Created          | Status (ID)   | Reporter          | Assignee          | Summary                                    |
|---------|------|------------------|---------------|-------------------|-------------------|--------------------------------------------|
| SCRUM-1 | Bug  | 2025-07-31 15:55 | To Do (10000) | lisa@simpson.com  | bart@simpson.com  | Write 100 times "I will be a good student" |
| SCRUM-2 | Task | 2025-06-30 15:56 | To Do (10000) | homer@simpson.com | homer@simpson.com | Eat donuts                                 |

To search for a specific work item, use the issues search command with the --key argument and the (case-sensitive) issue key.

Example: searching for the issue with key SCRUM-1

$ jiratui issues search --key SCRUM-1

| Key     | Type | Created          | Status (ID)   | Reporter          | Assignee          | Summary                                    |
|---------|------|------------------|---------------|-------------------|-------------------|--------------------------------------------|
| SCRUM-1 | Bug  | 2025-07-31 15:55 | To Do (10000) | lisa@simpson.com  | bart@simpson.com  | Write 100 times "I will be a good student" |

The full list of commands you can use with the CLI and additional settings is available at https://jiratui.readthedocs.io

Documentation

The full documentation is available at https://jiratui.readthedocs.io

Contributing

If you would like to contribute to the project make sure you are familiar with the contribution guidelines and the Code of Conduct.

Acknowledgements

This project was inspired by the work of Textualize and their remarkable frameworks Textual and Rich.

I also want to say thanks to the teams behind Posting, Lazygit and Harlequin for making these awesome tools. These have become the must-have tools for my development workflow.

Last but not least to my colleagues Tomasz, Ilyes and Giorgos for their support, encouragement and for reminding me how cool is to work from your terminal (something I have forgotten).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jiratui-1.8.0.tar.gz (249.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jiratui-1.8.0-py3-none-any.whl (307.1 kB view details)

Uploaded Python 3

File details

Details for the file jiratui-1.8.0.tar.gz.

File metadata

  • Download URL: jiratui-1.8.0.tar.gz
  • Upload date:
  • Size: 249.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jiratui-1.8.0.tar.gz
Algorithm Hash digest
SHA256 8fc2d83365a1897aef10d0cfff126fd9e7f2d156758dd97070de7b5590629518
MD5 bdffa2ae5689b29d78b9a69c2a5a57ba
BLAKE2b-256 90638ee44e6749b6b8a26273dbd20e8a386d36c7709df31aa22993e1070e7b93

See more details on using hashes here.

Provenance

The following attestation bundles were made for jiratui-1.8.0.tar.gz:

Publisher: publish-to-pypi.yml on whyisdifficult/jiratui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jiratui-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: jiratui-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 307.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jiratui-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28dbe1e4b8f3463d47648c0d838c752dd513ce48708519714f28f4d4e8883a26
MD5 140ae209361a1306f5dbb94441dd366a
BLAKE2b-256 1b051c66c2af3503c4a9a6dca5282b7fcbea7797ef4f440ea1e12471c97da2c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for jiratui-1.8.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on whyisdifficult/jiratui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page