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.

Metadata

Release files for rhjira 4.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rhjira 4.1.2
File Size Uploaded Provenance Actions
rhjira-4.1.2.tar.gz 71.7 kB Without provenance Details for rhjira-4.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rhjira 4.1.2
File Interpreter ABI Platform Actions
rhjira-4.1.2-py3-none-any.whl Python 3 none any Details for rhjira-4.1.2-py3-none-any.whl

Total release size: 114.8 kB

Release files / rhjira-4.1.2.tar.gz

Download URL rhjira-4.1.2.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e276e3b7519c7cefa17d1b3b5384256c9e13a724898c6d3d2ad2e7e97c461d16
BLAKE2b-256 checksum
How to use checksums
cdde33ec278751a6b4ec7fc59bea611891a3773ad9e63c1a700cd4bd693e36b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / rhjira-4.1.2-py3-none-any.whl

Download URL rhjira-4.1.2-py3-none-any.whl
Size 43.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42942a177b351c12aa41b2d187a470f705dc490ab08779ee71233b01b04f1ba4
BLAKE2b-256 checksum
How to use checksums
f1f843fffb4ae2e286f853535bcb60939640361767844ff28da08ff4431057bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for rhjira 4.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page