fix(测试跟踪): jira 编辑缺陷图片会上传多份附件

--bug=1013360 --user=陈建星 【测试跟踪】GitHub# 13760  缺陷管理 同步jira 问题 https://www.tapd.cn/55049933/s/1170856
This commit is contained in:
chenjianxing 2022-06-01 22:41:24 +08:00 committed by jianxing
parent 66b5e8dee6
commit 4d635dfa35
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ public class JiraPlatform extends AbstractIssuePlatform {
if (StringUtils.isNotBlank(fieldName)) { if (StringUtils.isNotBlank(fieldName)) {
if (item.getValue() != null) { if (item.getValue() != null) {
if (StringUtils.isNotBlank(item.getType())) { if (StringUtils.isNotBlank(item.getType())) {
if (StringUtils.equalsAny(item.getType(), "richText")) { if (StringUtils.equalsAny(item.getType(), "richText")
&& !item.getId().equals("description")) {
files.addAll(getImageFiles(item.getValue().toString())); files.addAll(getImageFiles(item.getValue().toString()));
} }
} }