fix(测试跟踪): 保存TAPD缺陷报错
--bug=1018057 --user=陈建星 【测试跟踪】缺陷管理-复制缺陷-保存报500 https://www.tapd.cn/55049933/s/1262408
This commit is contained in:
parent
9c8008d0b3
commit
50d91cf7c4
|
@ -65,7 +65,7 @@ public class TapdPlatform extends AbstractIssuePlatform {
|
|||
List<String>tapdUsers = new ArrayList<>(tapdIssues.size());
|
||||
for (Object tapdIssue : tapdIssues) {
|
||||
Map bug = (Map) ((Map) tapdIssue).get("Bug");
|
||||
String currentOwner = bug.get("current_owner").toString();
|
||||
String currentOwner = Optional.ofNullable(bug.get("current_owner")).orElse("").toString();
|
||||
tapdUsers.add(currentOwner);
|
||||
}
|
||||
return tapdUsers;
|
||||
|
|
Loading…
Reference in New Issue