title: JIRA REST API JQL query issue with maxResults
body: <p>JIRA's REST API search doesn't honor <code>maxResults</code> parameter.</p>
  
  <p><code>curl -o lambrusco.txt -k -D- -u admin:admin -X GET -H "Content-Type: application/json" https://jira.domain.com/rest/api/2/search?jql=assignee=blackpearl&amp;startAt=0&amp;maxResults=4</code></p>
  
  <p>No matter what <code>maxResults</code> is, it always returns <code>50</code> results.</p>
  
  <p>Output:
  <code>{"expand":"schema,names","startAt":0,"maxResults":50,"total":61,"issues":[{"expand":"operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields","id":"15588","self": ...}</code></p>
  
  <p>What am I missing here?</p>