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.
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
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
Built Distribution
File details
Details for the file jira-power-tools-0.2.1.tar.gz
.
File metadata
- Download URL: jira-power-tools-0.2.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/5.3.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0e5ce743571ae6c1ec17b84ac2442245b6f78ca55b937107d63b859cbe4e4d |
|
MD5 | 03c84d2f1839bf6e4e01056aebb27a02 |
|
BLAKE2b-256 | d30d1cd535ff59f1303533f7c41306d3c401d63b8f5f8350dc16c8f7f535639d |
File details
Details for the file jira_power_tools-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: jira_power_tools-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/5.3.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0792e96de0e829e119f5275fef295d9dea4f6ad11c307abbe427ae730430f240 |
|
MD5 | 965bb2ebd6a948dd5973cf1297ba4bb9 |
|
BLAKE2b-256 | a5e42c70f4dcd866574e267878a3e2a751e2519e582b58e568acc25d2ff2ed54 |