fix(测试跟踪): 开源用户同步Jira字段失败

--bug=1016690 --user=陈建星 【测试跟踪】github #17684,开源版本,点击”同步缺陷“按钮后,已同步到JIRA的缺陷,在MS上再次编辑时,已填写的字段内容被自动清空 https://www.tapd.cn/55049933/s/1241467
This commit is contained in:
chenjianxing 2022-09-13 13:52:07 +08:00 committed by f2c-ci-robot[bot]
parent 7d30d0d536
commit ae1f4082cd

View File

@ -30,7 +30,7 @@ public abstract class JiraAbstractClient extends BaseClient {
public JiraIssue getIssues(String issuesId) {
LogUtil.info("getIssues: " + issuesId);
ResponseEntity<String> 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);
}