JIRA的REST API搜索不符合maxResults
參數。JIRA REST API JQL查詢問題與maxResults
curl -o lambrusco.txt -k -D- -u admin:admin -X GET -H "Content-Type: application/json" https://jira.domain.com/rest/api/2/search?jql=assignee=blackpearl&startAt=0&maxResults=4
不管是什麼maxResults
是,它總是返回50
結果。
輸出: {"expand":"schema,names","startAt":0,"maxResults":50,"total":61,"issues":[{"expand":"operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields","id":"15588","self": ...}
缺少什麼我在這裏?
使用curl它從來沒有給出想要的結果,但是當我使用Php curl來獲取數據時,它工作正常。 – theblackpearl