diff --git a/backend/src/main/java/io/metersphere/track/service/IssuesService.java b/backend/src/main/java/io/metersphere/track/service/IssuesService.java index e2a3b6c58c..048a05c1f9 100644 --- a/backend/src/main/java/io/metersphere/track/service/IssuesService.java +++ b/backend/src/main/java/io/metersphere/track/service/IssuesService.java @@ -300,14 +300,6 @@ public class IssuesService { return issuesMapper.selectByPrimaryKey(id); } - private static String getIssuesContext(SessionUser user, IssuesUpdateRequest issuesRequest, String type) { - String context = ""; - if (StringUtils.equals(NoticeConstants.Event.CREATE, type)) { - context = "缺陷任务通知:" + user.getName() + "发起了一个缺陷" + "'" + issuesRequest.getTitle() + "'" + "请跟进"; - } - return context; - } - public List getZentaoBuilds(IssuesRequest request) { ZentaoPlatform platform = (ZentaoPlatform) IssueFactory.createPlatform(IssuesManagePlatform.Zentao.name(), request); return platform.getBuilds(); diff --git a/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue b/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue index 5366721461..19e381ac38 100644 --- a/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue +++ b/frontend/src/business/components/settings/organization/components/api/ApiHomeNotification.vue @@ -180,7 +180,7 @@ export default { "\n" + "\n" + "", - robotTitle: "${operator}发起了一个缺陷:${issuesName},请跟进", + robotTitle: "${operator}创建了缺陷:${issuesName}", defectTask: [{ taskType: "defectTask", event: "", diff --git a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue index 2785bb3e63..59b7d3f7c0 100644 --- a/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/track/DefectTaskNotification.vue @@ -176,11 +176,11 @@ export default { "\n" + "\n" + "
\n" + - "

${operator}发起了一个缺陷:${name}

\n" + + "

${operator}创建了缺陷:${name}

\n" + "
\n" + "\n" + "", - robotTitle: "${operator}发起了一个缺陷:${name}", + robotTitle: "${operator}创建了缺陷:${name}", defectTask: [{ taskType: "defectTask", event: "", diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 71e705f48d..68e291c762 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 71e705f48da10eb37135b189582ca0c917a2ffb3 +Subproject commit 68e291c7626aa1250303104f6c39d9646a1339e5