From 81dc01bc64531b778ead290a52531669126dd2a1 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 13 Sep 2022 13:52:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=BC=80=E6=BA=90=E7=94=A8=E6=88=B7=E5=90=8C=E6=AD=A5Jira?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016690 --user=陈建星 【测试跟踪】github #17684,开源版本,点击”同步缺陷“按钮后,已同步到JIRA的缺陷,在MS上再次编辑时,已填写的字段内容被自动清空 https://www.tapd.cn/55049933/s/1241467 --- .../io/metersphere/track/issue/client/JiraAbstractClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/issue/client/JiraAbstractClient.java b/backend/src/main/java/io/metersphere/track/issue/client/JiraAbstractClient.java index 1edab73d82..50d1f722d9 100644 --- a/backend/src/main/java/io/metersphere/track/issue/client/JiraAbstractClient.java +++ b/backend/src/main/java/io/metersphere/track/issue/client/JiraAbstractClient.java @@ -30,7 +30,7 @@ public abstract class JiraAbstractClient extends BaseClient { public JiraIssue getIssues(String issuesId) { LogUtil.info("getIssues: " + issuesId); ResponseEntity responseEntity; - responseEntity = restTemplate.exchange(getBaseUrl() + "/issue/" + issuesId + "?fields=status,assignee,summary,created,updated,attachment,description", HttpMethod.GET, getAuthHttpEntity(), String.class); + responseEntity = restTemplate.exchange(getBaseUrl() + "/issue/" + issuesId, HttpMethod.GET, getAuthHttpEntity(), String.class); return (JiraIssue) getResultForObject(JiraIssue.class, responseEntity); }