diff --git a/test-track/backend/src/main/java/io/metersphere/service/issue/platform/AbstractIssuePlatform.java b/test-track/backend/src/main/java/io/metersphere/service/issue/platform/AbstractIssuePlatform.java index 95ceed3f22..636680ce90 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/issue/platform/AbstractIssuePlatform.java +++ b/test-track/backend/src/main/java/io/metersphere/service/issue/platform/AbstractIssuePlatform.java @@ -241,7 +241,12 @@ public abstract class AbstractIssuePlatform implements IssuesPlatform { if (endpoint.endsWith("/")) { endpoint = endpoint.substring(0, endpoint.length() - 1); } - path = " "; + String format = " "; + if (path.trim().startsWith("http")) { + path = String.format(format, path); + } else { + path = String.format(format, endpoint + path); + } result = matcher.replaceFirst(path); matcher = pattern.matcher(result); }