jira-cycle-extract icon indicating copy to clipboard operation
jira-cycle-extract copied to clipboard

maxResults in query.py was boolean. API needs it to be a number

Open rnwolf opened this issue 8 years ago • 2 comments

In Charting.py max_results was boolean, I changed it to number

Line 41 settings = dict( queries=[], query_attribute=None, fields={}, known_values={}, max_results=1000, )

Line 187 issues = self.jira.search_issues(queryString, expand='changelog', maxResults=self.settings['max_results'])

As per https://confluence.atlassian.com/jirakb/changing-maxresults-parameter-for-jira-rest-api-779160706.html

I am using the Atlassian cloud version of Jira.

rnwolf avatar Aug 22 '16 07:08 rnwolf

@optilude I did the same here and it is working really well. If you want, I can open a PR with the change. Just let me know.

thiagoghisi avatar Dec 19 '16 20:12 thiagoghisi

Happy to review a PR. I think the python client does some chunking automatically.

optilude avatar Dec 19 '16 21:12 optilude