Skip to main content

rhjira-python is a utility and library that provides functionality to interact with Red Hat's Jira (https://redhat.atlassian.net). The functionality in this project currently supports creating, editing, commenting on, attaching files to, and the displaying of jiras.

Configuration

Token Configuration

rhjira-python requires a Jira Token (from your Atlassian account security settings). The token can be exported as JIRA_TOKEN, however it is recommended users execute 'rhjira settoken' to store their token in their keyring. This is more secure than keeping the token in clear text and using JIRA_TOKEN.

When running 'rhjira settoken', you will be prompted for the Jira server URL (default https://redhat.atlassian.net), then an email address for Atlassian Cloud authentication. Both server and email are stored in the keyring alongside your token.

Tokens can be removed from the keyring by simply removing the 'rhjira' entry. In the commonly used seahorse application, this can be done by removing the 'Password for '{username}' on 'rhjira'' entry. Similarly, the stored email can be removed by deleting the 'rhjira-email' entry, and the stored server by deleting the 'rhjira-server' entry.

Server Configuration

By default, rhjira connects to https://redhat.atlassian.net. To connect to a different Jira instance, set the JIRA_SERVER environment variable or run 'rhjira settoken' and enter the server URL when prompted (it is saved in the keyring):

export JIRA_SERVER="https://your-jira-instance.atlassian.net"

Atlassian Cloud instances require an email address for authentication. You can provide this in two ways:

  1. When running 'rhjira settoken' (recommended - stores in keyring)
  2. Via the JIRA_EMAIL environment variable:
export JIRA_EMAIL="your.email@example.com"

Environment Variable Priority

Environment variables take priority over keyring values, allowing for easy testing and per-session overrides:

  • JIRA_TOKEN overrides the keyring token
  • JIRA_EMAIL overrides the keyring email
  • JIRA_SERVER overrides the keyring server and default server URL

Help

All commands are supported via --help. For example, to get help on the comment command, execute "rhjira comment --help".

Problems found with rhjira-python can be reported at https://gitlab.com/prarit/rhjira-python/-/issues. As with all my projects, merge requests are welcomed!

Bugs with rhjira should include the version of rhjira you are running and the exact executed command that failed.

Download files

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

Source Distribution

rhjira-4.1.0.tar.gz (69.1 kB view details)

Uploaded Source

Built Distribution

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

rhjira-4.1.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file rhjira-4.1.0.tar.gz.

File metadata

  • Download URL: rhjira-4.1.0.tar.gz
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for rhjira-4.1.0.tar.gz
Algorithm Hash digest
SHA256 5898cdd712b3b68d7486dc0724297e6c4d7917a08b1fad0a9818911d5d931de7
MD5 7e4869bc0f274051a6d47ffee01e2fb6
BLAKE2b-256 430f1f45c571a0bdb6b43ffc659caed3ef518b32d22d66c633a908fa1f2b0c91

See more details on using hashes here.

File details

Details for the file rhjira-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: rhjira-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for rhjira-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85d139ae8bc5442c31b1402e43d9932ca2bf9197a2175cf6d3f39fd04749d608
MD5 c606901f9a817e70905b92de20f1a5f1
BLAKE2b-256 84403eb8d6319fb7a0f3d3ce833464381fdd62c73a75e7539a653289bc171d7f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 files

4.0.9

2 files

4.0.8

2 files

4.0.7

2 files

4.0.6

2 files

4.0.5

2 files

4.0.4

2 files

4.0.3

2 files

4.0.2

2 files

4.0.1

2 files

4.0.0

2 files

3.3.0

2 files

3.2.0

2 files

3.1.0

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 files

2.7.7

2 files

2.7.6

2 files

2.7.5

2 files

2.7.4

2 files

2.7.3

2 files

2.7.2

2 files

2.7.1

2 files

2.7.0

2 files

2.6.0

2 files

2.5.0

2 files

2.4.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

Supported by

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