Skip to content

make enhanced_search_issues a lazy generator #2381

@pmkap

Description

@pmkap

Problem trying to solve

enhanced_search_issues(jql, maxResults=False)

This fetches all issues eagerly. But depending on the jql, this could be potentially hundreds of API calls to Jira. It would be nice to start working on these issues immediately instead of waiting for all issues to be fetched.

Alternatively we could provide a second function like search_issues_generator or something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions