axios({
method: "GET",
url: `${baseUrl}/api/project/search`,
params: {
maxResults: 50,
orderBy: "-lastIssueUpdatedTime",
},
})
The results obtained are sorted by 'key'
[
{
"expand": "description,lead,issueTypes,url,projectKeys,permissions,insight",
"self": "xxx",
"id": "10150",
"key": "AG",
"name": "xxx",
"avatarUrls": {
。。。
},
"projectTypeKey": "software",
"simplified": false,
"style": "classic",
"isPrivate": false,
"properties": {}
},
{
"expand": "description,lead,issueTypes,url,projectKeys,permissions,insight",
"self": "xxx",
"id": "10151",
"key": "AL",
"name": "xxx",
"avatarUrls": {
。。。
},
"projectTypeKey": "software",
"simplified": false,
"style": "classic",
"isPrivate": false,
"properties": {}
},
{
"expand": "description,lead,issueTypes,url,projectKeys,permissions,insight",
"self": "xxx",
"id": "10093",
"key": "API",
"name": "xxx",
"avatarUrls": {
。。。
},
"projectTypeKey": "software",
"simplified": true,
"style": "next-gen",
"isPrivate": true,
"properties": {},
"entityId": "f9e256dc-a9c2-431f-bca3-fde740bcb947",
"uuid": "f9e256dc-a9c2-431f-bca3-fde740bcb947"
},