Skip to main content

Dump Jira issues to file and reload them without connection to the original server.

Project description

Dump Jira issues to file and reload them without connection to the original server.

Quickstart

Dump issues:

from jira import JIRA
from jira_cache import CachedIssues

jira = JIRA('https://jira.atlassian.com/')
result = jira.search_issues('project=JRA and text ~ "Python"')
cached = CachedIssues(result)
cached.dump(open('python-issues.json', 'w'))

Loading from file:

from jira import JIRA
from jira_cache import CachedIssues

result = CachedIssues.load(open('python-issues.json'))

Installation

Simply run

pip install jira-history

Contributing

Please do! I would love for this to be developed further by anyone who is interested. Wherever possible, please provide unit tests for your work (yes, this is very much a ‘do as I say, not as I do’ kind of moment). Don’t forget to add your name to AUTHORS.

License

Copyright (c) 2016 Sebastian Rahlf

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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-cache-0.8.3.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file jira-cache-0.8.3.tar.gz.

File metadata

  • Download URL: jira-cache-0.8.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jira-cache-0.8.3.tar.gz
Algorithm Hash digest
SHA256 ddc7af911e3adbc269f0603cbb46995d67e2b8241ed1e7f95302d67e0c14daa7
MD5 5dc2ba7059fad5ded5aab39f0048a7ba
BLAKE2b-256 2d55396bbb03cc397487d3a9b2eb92bf5f71e88ecddc06692053d3fb0c543168

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