我試圖在 Jira 中獲取所有用戶串列的資源,但 Jira API 發送的串列只有 50 個用戶。我想獲取所有用戶的串列。我該怎么做?
端點: https : //myurl.atlassian.net/rest/api/3/users/search
回應(只有 50 個用戶,不是所有用戶)
[
{
"self": "https://myurl.atlassian.net/rest/api/3/user?accountId=*********************",
"accountId": "*********************",
"accountType": "customer",
"displayName": "Former user",
"active": false
},
{
"self": "https://myurl.atlassian.net/rest/api/3/user?accountId=************************",
"accountId": "************************",
"accountType": "atlassian",
"emailAddress": "****************",
"displayName": "*************",
"active": true,
"locale": "en_US"
},
{
...
...
...
},
]
uj5u.com熱心網友回復:
您可以在查詢中添加引數:
startAt=0&maxResults=1000
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/365851.html
標籤:接口 休息 吉拉 jira-rest-api 蟒蛇吉拉
下一篇:復合觸發器僅觸發一次
