fix(缺陷管理): 修复tapd查询需求时只有前30条的问题,tapd接口默认200
--bug=1011750 --user=刘瑞斌 【测试跟踪】项目中tapd集成后,新增用例关联需求下拉框中只显示tapd中该项目的前30条需求 https://www.tapd.cn/55049933/s/1127880
This commit is contained in:
parent
07dbe68811
commit
a406458f14
|
@ -75,7 +75,7 @@ public class TapdClient extends BaseClient {
|
|||
}
|
||||
|
||||
public JSONArray getDemands(String projectId) {
|
||||
String url = getBaseUrl() + "/stories?workspace_id={1}";
|
||||
String url = getBaseUrl() + "/stories?workspace_id={1}&limit=200";
|
||||
ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, getAuthHttpEntity(), String.class, projectId);
|
||||
return JSONArray.parseObject(response.getBody()).getJSONArray("data");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue