tkhurana commented on code in PR #1547:
URL: https://github.com/apache/phoenix/pull/1547#discussion_r1054172408
##########
dev/misc_utils/git_jira_fix_version_check.py:
##########
@@ -91,11 +91,15 @@
print('\nAny resolved Jira with fixVersion ' + fix_version
+ ' but corresponding commit not present')
-print('Starting diff: ##############################################')
+
+# maxResults=None results in internal batching within the API
+# and it returns all the results back
all_issues_with_fix_version = jira.search_issues(
'project=' + jira_project_name + ' and status in (Resolved,Closed) and
fixVersion='
- + fix_version)
+ + fix_version, maxResults=None)
+print(f'Found {all_issues_with_fix_version.total} issues fixed in
{fix_version}')
Review Comment:
@gourabtaparia This script only works with python3. Python 3.6 is EOL so we
should be fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]