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 fit2-zhao
parent 5b2f64b722
commit ffba4e3683
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ public class JiraPlatform extends AbstractIssuePlatform {
if (StringUtils.isNotBlank(fieldName)) {
if (item.getValue() != null) {
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()));
}
}