Hi everyone,
I am using api rest (cloud) to search for a issues in a specific project and with specific properties:
/search?jql=project=projectId&fields=*none&startAt=startAtValue&maxResults=maxResultsValue&properties=...";
In the api response, I noticed that the issues are ordered by id DESC.
{
"expand": "schema,names",
"startAt": 0,
"maxResults": 100,
"total": 4,
"issues": [
{
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "10004",
...},
{
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "10003",
...
}
Is there any way to have this issue array returned by ?search ordered by id ASC?
The problem was in my search parameter.
This is the working example:
search?jql=project=10001%20order%20by%20id%20asc&fields=*none&maxResults=10000&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.