jql: fixed maxResults in count query

This commit is contained in:
Vladislav Denisov 2017-05-05 09:26:09 +03:00
parent 48322856d9
commit ea7c6c2be3

View File

@ -181,7 +181,7 @@ class JiraJQL(BaseQueryRunner):
field_mapping = FieldMapping(query.pop('fieldMapping', {}))
if query_type == 'count':
query['maxResults'] = query.get('maxResults', 1)
query['maxResults'] = 1
query['fields'] = ''
else:
query['maxResults'] = query.get('maxResults', 1000)