fix(测试跟踪): 多次保存jira缺陷图片无法显示
This commit is contained in:
parent
bd793616e9
commit
00ec9e9820
|
@ -794,8 +794,11 @@ public class IssuesService {
|
|||
}
|
||||
|
||||
private String replaceJiraMdUrlParam(String url, String workspaceId, String projectId) {
|
||||
if (url.contains("&workspace_id=")) {
|
||||
return url;
|
||||
}
|
||||
return url.replaceAll("platform=Jira&",
|
||||
"platform=Jira&project_id=" + projectId + "&workspace_id=" + workspaceId + "&");
|
||||
"platform=Jira&workspace_id=" + workspaceId + "&");
|
||||
}
|
||||
|
||||
private Map<String, List<IssueCommentDTO>> getCommentMap(List<IssuesDao> issues) {
|
||||
|
|
Loading…
Reference in New Issue