From be29bcc04f4f45bed9bbeca1f33e8818e57f75f9 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 16 Sep 2020 14:26:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20t?= =?UTF-8?q?apd=E6=8F=90=E4=BA=A4=E7=BC=BA=E9=99=B7=E6=97=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=9B=E5=BB=BA=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/service/IssuesService.java | 3 +++ 1 file changed, 3 insertions(+) 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 9febb2149b..b46ffc2496 100644 --- a/backend/src/main/java/io/metersphere/track/service/IssuesService.java +++ b/backend/src/main/java/io/metersphere/track/service/IssuesService.java @@ -193,10 +193,13 @@ public class IssuesService { List tapdUsers = issuesRequest.getTapdUsers(); String usersStr = String.join(";", tapdUsers); + String username = SessionUtils.getUser().getName(); + MultiValueMap paramMap = new LinkedMultiValueMap<>(); paramMap.add("title", issuesRequest.getTitle()); paramMap.add("workspace_id", tapdId); paramMap.add("description", issuesRequest.getContent()); + paramMap.add("reporter", username); paramMap.add("current_owner", usersStr); ResultHolder result = call(url, HttpMethod.POST, paramMap);