added fields and maxresults parameters to queryIssue