Skip to main content

Python library for interacting with JIRA via REST APIs.

Project description

https://img.shields.io/pypi/v/jira.svg https://img.shields.io/pypi/l/jira.svg https://img.shields.io/github/issues/pycontribs/jira.svg https://readthedocs.org/projects/jira/badge/?version=main https://codecov.io/gh/pycontribs/jira/branch/main/graph/badge.svg

This library eases the use of the Jira REST API from Python and it has been used in production for years.

As this is an open-source project that is community maintained, do not be surprised if some bugs or features are not implemented quickly enough.

Quickstart

Feeling impatient? I like your style.

from jira import JIRA

jira = JIRA('https://jira.atlassian.com/')

issue = jira.issue('JRA-9')
print(issue.fields.project.key)            # 'JRA'
print(issue.fields.issuetype.name)         # 'New Feature'
print(issue.fields.reporter.displayName)   # 'Mike Cannon-Brookes [Atlassian]'

Installation

Download and install using pip install jira or easy_install jira

You can also try pip install --user --upgrade jira which will install or upgrade jira to your user directory. Or maybe you ARE using a virtualenv right?

By default only the basic library dependencies are installed, so if you want to use the cli tool or other optional dependencies do perform a full installation using pip install jira[opt,cli,test]

Usage

See the documentation for full details.

Development

Development takes place on GitHub using the default repository branch. Each version is tagged.

Setup

  • Fork repo

  • Keep it sync’ed while you are developing

Automatic (VS Code)

Open in Remote - Containers

Follow the instructions in the contributing guide, which will describe how to use the dev container that will automatically setup a suitable environment.

Manual

  • Install pyenv to install a suitable python version.

  • Launch docker jira server
    • docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone

tox envs

  • Lint
    • tox -e lint

  • Run tests
    • tox

  • Build and publish with TWINE
    • tox -e publish

Credits

In addition to all the contributors we would like to thank to these companies:

  • Atlassian for developing such a powerful issue tracker and for providing a free on-demand Jira instance that we can use for continuous integration testing.

  • JetBrains for providing us with free licenses of PyCharm

  • GitHub for hosting our continuous integration and our git repo

  • Navicat for providing us free licenses of their powerful database client GUI tools.

https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-atlassian.png https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-pycharm.png https://raw.githubusercontent.com/pycontribs/resources/main/logos/x32/logo-navicat.png

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

jira-3.10.5.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

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

jira-3.10.5-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file jira-3.10.5.tar.gz.

File metadata

  • Download URL: jira-3.10.5.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jira-3.10.5.tar.gz
Algorithm Hash digest
SHA256 2d09ae3bf4741a2787dd889dfea5926a5d509aac3b28ab3b98c098709e6ee72d
MD5 117b1975845028aa471cf7b3a0c78049
BLAKE2b-256 6573ee4daa7cf4eea457180de0ea78b730b44bb5ad2829dae49cf708a1460819

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira-3.10.5.tar.gz:

Publisher: release.yml on pycontribs/jira

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

File details

Details for the file jira-3.10.5-py3-none-any.whl.

File metadata

  • Download URL: jira-3.10.5-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jira-3.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d4da1385c924ee693d6cc9838e56a34e31d74f0d6899934ef35bbd0d2d33997f
MD5 cfaebf265c983a5194a816a9316c87e9
BLAKE2b-256 8957ad078d7379e390798559446607e413fc953c7510711462ab34194dba5924

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira-3.10.5-py3-none-any.whl:

Publisher: release.yml on pycontribs/jira

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