Python JIRA Historical Search API
Project description
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
The atlassian-python-api project, providing the Jira REST API calls used by this project.
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-history-api-0.3.0.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for jira_history_api-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7adeca522627fdf55fa77091f27259936b16a56ebfb323cda6495b319dd3d87f |
|
MD5 | c68f20dfb2a9280b8e7c2321f3849dc7 |
|
BLAKE2b-256 | aa7608fe1bda8395392e2f6a4dabcb691a8fe60d2c230365894d485a23a650a2 |