Installation

The recommended way to install the application is via uv

uv add jiratui

Alternatively, you can install it using pip

pip install jiratui

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

jiratui --help

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.
  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.

Before you can launch the UI or use the CLI's commands you need to configure a few things. Head over to the configuration section to see how to do that.

Initial Configuration

Before using the application, you need to configure a few settings.

The application uses Pydantic Settings. This allows you to define the configuration variables as ENV variables. To do that simply set the value of the config variable you want to define in a ENV variable called JIRA_TUI_*; where * is the name of the config variable.

Example: to define the value of jira_api_username do this: JIRA_TUI_JIRA_API_USERNAME=...

Setting Up the Jira's Instance 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's API.
  • jira_api_token - the token for connecting to your Jira's API.
  • jira_api_base_url - the base URL of your Jira instance API.

You have a couple of options for setting these values.

Use a .env File

Create a .env file named .env.jiratui and add the following content:

JIRA_TUI_JIRA_API_USERNAME={your-jira-api-username}
JIRA_TUI_JIRA_API_TOKEN={your-jira-api-token}
JIRA_TUI_JIRA_API_BASE_URL=https://{your-jira-instance-hostname}.atlassian.net

You can pass the variable JIRA_TUI_ENV_FILE and point to the location of your env file.


Use a Config File

You can also use a combination of a .env file and a config file. For example, keep the API username and token in the .env file while placing the rest of the settings in a config file. The default config file expected by the application is jiratui.yaml, but you can name your config file anything you like and specify it using the environment variable JIRA_TUI_CONFIG_FILE when interacting with the CLI/app.

Example: Create a file called my-jiratui-config.yaml and add the following:

jira_api_base_url: 'https://{your-jira-instance-hostname}.atlassian.net'

Full Example

~/.env.jiratui

JIRA_TUI_JIRA_API_USERNAME={your-jira-api-username}
JIRA_TUI_JIRA_API_TOKEN={your-jira-api-token}

~/.jiratui.yaml

jira_api_base_url: 'https://{your-jira-instance-hostname}.atlassian.net'

Launching the UI

Now that you have the basic configuration you can launch the UI with the following command

jiratui ui

If everything works fine you should be able to see a screen like the one below.

The home screen of JiraTUI
The home screen of the application after running the command above

Next Steps

To learn how to use the CLI tool and set up other configuration options please refer to the documentation at https://jiratui.readthedocs.io

© 2025 Gaston Tagni.

Template by ThemeWagon