From 749ca13ed9962c98b3b03f283f7b279c9e512601 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 12 Jan 2022 18:40:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E8=84=91=E5=9B=BE=E8=BE=91=E7=BC=BA=E9=99=B7=E5=90=8E=E4=BC=9A?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8F=96=E6=B6=88=E5=85=B3=E8=81=94=20--bug?= =?UTF-8?q?=3D1009066=20--user=3D=E9=99=88=E5=BB=BA=E6=98=9F=20=E3=80=90?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA=E3=80=91=E7=A6=85=E9=81=93?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E6=A8=A1=E6=9D=BF=EF=BC=8C=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E4=B8=AD=EF=BC=8C=E8=84=91=E5=9B=BE=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=BC=96=E8=BE=91=E7=BC=BA=E9=99=B7=E5=90=8E=E4=BC=9A?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8F=96=E6=B6=88=E5=85=B3=E8=81=94=20https:?= =?UTF-8?q?//www.tapd.cn/55049933/s/10911599?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/issue/ZentaoPlatform.java | 4 ++-- .../components/track/common/minder/TestPlanMinder.vue | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java b/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java index 7220d69dec..869a6e695c 100644 --- a/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java +++ b/backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java @@ -66,13 +66,13 @@ public class ZentaoPlatform extends AbstractIssuePlatform { public IssuesDao getZentaoAssignedAndBuilds(IssuesDao issue){ JSONObject zentaoIssue = zentaoClient.getBugById(issue.getPlatformId()); - String openedBy = zentaoIssue.getString("openedBy"); + String assignedTo = zentaoIssue.getString("assignedTo"); String openedBuild = zentaoIssue.getString("openedBuild"); ListzentaoBuilds = new ArrayList<>(); if(Strings.isNotBlank(openedBuild)){ zentaoBuilds = Arrays.asList(openedBuild.split(",")); } - issue.setZentaoAssigned(openedBy); + issue.setZentaoAssigned(assignedTo); issue.setZentaoBuilds(zentaoBuilds); return issue; } diff --git a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue index 9b9a68f068..e4448a63e6 100644 --- a/frontend/src/business/components/track/common/minder/TestPlanMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestPlanMinder.vue @@ -15,7 +15,7 @@ ref="minder" /> - + @@ -31,7 +31,6 @@ import {getPlanCasesForMinder} from "@/network/testCase"; import IssueRelateList from "@/business/components/track/case/components/IssueRelateList"; import TestPlanIssueEdit from "@/business/components/track/case/components/TestPlanIssueEdit"; import {addIssueHotBox} from "./minderUtils"; -import {getIssuesById} from "@/network/Issue"; export default { name: "TestPlanMinder", components: {MsModuleMinder, TestPlanIssueEdit, IssueRelateList},