I am trying to construct a url that will return issues for a project sorted by updates...
What I currently have is:
<url>/rest/api/2/search?jql=project="<projectname>"&orderBy=-updated&maxResults=3
but it looks like orderBy
is not supported? How do I get them back sorted?
Community moderators have prevented the ability to post new answers.
Try this syntax:
curl -D- -u fred:fred -X GET -H "Content-Type: application/json" http://kelpie9:8081/rest/api/2/search?jql=assignee=fred+order+by+duedate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Searches for issues using JQL.
Sorting: the jql
parameter is a full JQL expression which can include an ORDER BY
clause.
What do you mean when you say not supported?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.