fix(缺陷管理): 修复tapd查询需求时只有前30条的问题,tapd接口默认200

--bug=1011750 --user=刘瑞斌 【测试跟踪】项目中tapd集成后,新增用例关联需求下拉框中只显示tapd中该项目的前30条需求 https://www.tapd.cn/55049933/s/1127880
This commit is contained in:
CaptainB 2022-03-30 18:51:56 +08:00 committed by 刘瑞斌
parent 07dbe68811
commit a406458f14
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}