Skip to main content

Tools to improve working with the python jira API.

Project description

jira power tools

A collection of tools to make it easier to work with the Python Jira API.

PyPI Build

Usages

Lazy Pagination of Jira Issues

If you are querying a lot of jira issues. Paginating the results can lighten the memory usage on the Jira server. But needing to keep track of the pagination is painful. Using lazy pagination gives you an iterable that can track pagination for you:

import jirapt

jira = # jira server instance.
jql = "JQL query"

issues = jirapt.search_issues(jira, jql, ...) # you can include any parameters you might pass to search_issues.

for issue in issues:
    # perform work on issue

Note: You gather results in parallel by specifying n_threads=N. This will gather all the results before starting iteration. So there will be a delay before the first iteration starts and all the results will need to fit into memory.

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-power-tools-0.2.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

jira_power_tools-0.2.1-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

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