fix(测试跟踪): jira平台下新建issue保存报错

--bug=1012614
--user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001012614
This commit is contained in:
guoyuqi 2022-04-24 11:42:48 +08:00 committed by 刘瑞斌
parent c8bd4e1eca
commit 0a202b14e3
1 changed files with 5 additions and 2 deletions

View File

@ -287,9 +287,12 @@ public class JiraPlatform extends AbstractIssuePlatform {
JSONObject fields = new JSONObject();
JSONObject project = new JSONObject();
String desc = issuesRequest.getDescription();
String desc = "";
// 附件描述信息处理
desc = dealWithImage(issuesRequest.getDescription());
if (StringUtils.isNotBlank(issuesRequest.getDescription())) {
desc = dealWithImage(issuesRequest.getDescription());
}
fields.put("project", project);
project.put("key", jiraKey);