Skip to content

Make the issue page size configurable #44

@seflue

Description

@seflue

The number of issues fetched per query is currently hardcoded.

For queries with a larger result set you have no option to pull more. It
would be nice to set the page size in the config, both globally and per tab.

maxResults: 75
issueTabs:
  - name: "All"
    jql: "project = {{.ProjectKey}} ORDER BY updated DESC"
    maxResults: 100

I have already implemented this and can open a PR.

The caveat is that more than 100 items are currently not possible with the
API used in lazyjira. The optimal solution would be to take advantage of the
cursor-based querying of the modern API. I already prototyped a python script
for my Jira tv channel and it works quite well.

But this would be another improvement for another PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions