diff --git a/backend/src/main/java/io/metersphere/service/IssueTemplateService.java b/backend/src/main/java/io/metersphere/service/IssueTemplateService.java index 4e1deac080..88bc92bb5f 100644 --- a/backend/src/main/java/io/metersphere/service/IssueTemplateService.java +++ b/backend/src/main/java/io/metersphere/service/IssueTemplateService.java @@ -352,7 +352,7 @@ public class IssueTemplateService extends TemplateBaseService { boolean isExistTargetIssueTemplate = targetIssueTemplates.stream().anyMatch(issueTemplate -> StringUtils.equals(sourceIssueTemplate.getName(), issueTemplate.getName())); String recordName; if (isExistTargetIssueTemplate) { - recordName = sourceIssueTemplate.getName().concat("_copy"); + recordName = sourceIssueTemplate.getName().concat("_copy").concat(UUID.randomUUID().toString().substring(0, 8)); } else { recordName = sourceIssueTemplate.getName(); }