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

/rest/api/2/project/search params orderBy cant work

韩东
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2021
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"
},


0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events