Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't sort JQL results via curl

TomaszR August 5, 2013

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';

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
TomaszR August 7, 2013
TAGS
AUG Leaders

Atlassian Community Events