Skip to content

maxResults seems to be locked on 100 #805

@hcpeter

Description

@hcpeter

Hi,

First of all - thank you for this fantastic tool!

I'm currently using version 2.0.0 with Jira Cloud. My primary use case is to open a jirashell and do quick and dirty info scraping, mainly with the help of search_issues. When I double checked the results (running the same JQL in the Jira) I noticed that in jirashell I always get back maximum 100 results - even if I specify the maxResults parameter. According to Jira, I should have 288 results. Am I missing something (maybe pagination?) More interestingly, the total is correct.

To Reproduce
Steps to reproduce the behavior:
Run any query with search_issue which will give back more than 100 results

issues = jira.search_issues('jql....', maxResults = 332)
len(issues) #100 
issues.total #288

Expected behavior
The ResultList should contain all the issues.

Version Information
Python Interpreter: python 3.7.3
jira-python: 2.0.0
OS: macOS Mojave
IPython (Optional): 7.5.0

I'd appreciate any help!
Best regards,
Peter

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