Running the following curl gets me a correct set of results:
$url = 'https://<oursite>.jira.com/rest/api/2/search?jql=project%3D' . $TEAM . '%20AND%20status%20IN%20(resolved,%22in%20progress%22,%22in%20development%22,%22ready%20for%20release%22)&fields=id,key,summary,priority,status,project,assignee';
However when I try to sort them, their order stays the same, and the assignee items are removed
$url = 'https://<oursite>.jira.com/rest/api/2/search?jql=project%3D' . $TEAM . '%20AND%20status%20IN%20(resolved,%22in%20progress%22,%22in%20development%22,%22ready%20for%20release%22)&fields=id,key,summary,priority,status,project,assignee%20ORDER%20BY%20priority,status%20desc';
Community moderators have prevented the ability to post new answers.
This item can be closed. Got the answer in:
https://answers.atlassian.com/questions/196931/how-do-i-retrieve-issues-of-specific-status-with-jql
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.