refactor(测试跟踪): 集成tapd时没有填写项目ID,同步缺陷错误信息优化

--bug=1033154 --user=陈建星 【测试跟踪】项目集成tapd时没写项目ID,同步缺陷提示信息优化 https://www.tapd.cn/55049933/s/1444772
This commit is contained in:
AgAngle 2023-12-18 17:04:28 +08:00 committed by 刘瑞斌
parent e717b1988f
commit e1452d380e
4 changed files with 9 additions and 4 deletions

View File

@ -198,7 +198,9 @@ public class TapdPlatform extends AbstractIssuePlatform {
if (CollectionUtils.isEmpty(ids)) return;
HashMap<String, List<CustomFieldResourceDTO>> customFieldMap = new HashMap<>();
Map<String, String> statusMap = tapdClient.getStatusMap(project.getTapdId());
if (StringUtils.isBlank(project.getTapdId())) {
MSException.throwException(Translator.get("tapd_id_blank_error"));
}
int index = 0;
int limit = 50;

View File

@ -248,4 +248,5 @@ case_export_text_validate_tip=Contains extremely long text, currently supported
case_import_table_header_missing=Header information is missing!
relate_resource=relate
test_plan_run_message=The current test plan is running, please try again later
test_review_end_time_early=Deadline cannot be earlier than current time
test_review_end_time_early=Deadline cannot be earlier than current time
tapd_id_blank_error=Enter the Tapd project ID in the project configuration

View File

@ -219,4 +219,5 @@ case_export_text_validate_tip=包含超长文本,目前支持最大长度为 %
case_import_table_header_not_exist=缺少表头信息!
relate_resource=关联
test_plan_run_message=当前测试计划正在执行中,请稍后再试!
test_review_end_time_early=截止时间不能早于当前时间!
test_review_end_time_early=截止时间不能早于当前时间!
tapd_id_blank_error=请在项目配置填写 Tapd 项目ID

View File

@ -219,4 +219,5 @@ case_export_text_validate_tip=包含超長文本,目前支持最大長度為 %
case_import_table_header_not_exist=缺少表頭信息!
relate_resource=關聯
test_plan_run_message=當前測試計劃正在執行中,請稍後再試!
test_review_end_time_early=截止時間不能早於當前時間!
test_review_end_time_early=截止時間不能早於當前時間!
tapd_id_blank_error=請在項目配置填寫 Tapd 項目ID