fix(测试跟踪): 修复同步Jira缺陷描述展示的问题

--bug=1014749 --user=宋昌昌 【测试跟踪】github#15532 本地部署jira,同步缺陷后,缺陷描述只展示图片,未展示文字 https://www.tapd.cn/55049933/s/1211375
This commit is contained in:
song-cc-rock 2022-07-26 12:02:11 +08:00 committed by f2c-ci-robot[bot]
parent 587b3dc67f
commit f0b70102ed
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ public class JiraPlatform extends AbstractIssuePlatform {
return description; return description;
} }
description = description.replaceAll("!image", "\n!image");
String[] splitStrs = description.split("\\n"); String[] splitStrs = description.split("\\n");
for (int j = 0; j < splitStrs.length; j++) { for (int j = 0; j < splitStrs.length; j++) {
String splitStr = splitStrs[j]; String splitStr = splitStrs[j];