Skip to main content

Python JIRA Historical Search API

Project description

version license coverage qualitygate

The Jira History library allows you to retrieve issues from JIRA in (almost) the same state as they were on the requested date/time.

In addition, a simple CLI is added to retrieve the status of a singular issue.

Installation

$ pip install jira-history-api

Example

from jira_history import Jira
from datetime import datetime

jira = Jira(url='https://jira-instance.com',
            username='bob',
            password='secret')

jira.get_issue(key='ISSUE-100',
               datetime.strptime('12/11/2018 09:15:32', '%d/%m/%Y %H:%M:%S'))

Usage

Usage: jira-history [OPTIONS]

Options:
-u, --username TEXT    Username that is able to query Jira  [required]
-p, --password TEXT    Password associated with the Username that is able to
                        query Jira  [required]

-s, --server TEXT      Jira server URL  [required]
-k, --key TEXT         Issue key to analyse  [required]
-d, --date [%Y-%m-%d]  Status of Jira issue key should reflect this date.
--verbose              Increase verbosity for more logging
--help                 Show this message and exit.

Credits

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

jira-history-api-0.4.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

jira_history_api-0.4.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file jira-history-api-0.4.0.tar.gz.

File metadata

  • Download URL: jira-history-api-0.4.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for jira-history-api-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0a69acdb2ea95cea0eadaa5a57c428030fc8407c56fd2539770eb9fa2bb716d9
MD5 520e7744e5d5d15694878c7e424bb409
BLAKE2b-256 3a49e8979eb99077735e5466b23ef0f7ed2056e182b30a0f85141c37b9c3e58a

See more details on using hashes here.

File details

Details for the file jira_history_api-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jira_history_api-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for jira_history_api-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1fe0adc7f634b895e63ea6690ab342c8864dd92e8f06ee59296b2f7e2c3539
MD5 7f6d41b42939fc612f4ed6f37757d9ab
BLAKE2b-256 7205e5ee44334d39509010e84bb2c5691065ae6a8756e91d28b9253495b06bb1

See more details on using hashes here.

Supported by

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