fix(测试跟踪): Jira多选用户字段同步问题

--bug=1018604 --user=宋昌昌 【测试跟踪】项目集成jira-缺陷管理-同步缺陷-报告人未同步成功 https://www.tapd.cn/55049933/s/1281039
This commit is contained in:
song-cc-rock 2022-10-27 18:07:25 +08:00
parent 0d63c67c7c
commit 92ba993a8b
1 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,10 @@ public class JiraPlatform extends AbstractIssuePlatform {
public JiraClientV2 getJiraClientV2() {
return jiraClientV2;
}
public void setThirdPartTemplate() {
this.isThirdPartTemplate = true;
}
@Override
public List<IssuesDao> getIssue(IssuesRequest issuesRequest) {
@ -799,7 +803,7 @@ public class JiraPlatform extends AbstractIssuePlatform {
if (defaultValue instanceof String) {
msDefaultValue = defaultValue;
} else {
msDefaultValue = Instant.ofEpochMilli((Long) defaultValue).atZone(ZoneId.systemDefault()).toLocalDate();
msDefaultValue = Instant.ofEpochMilli((Long) defaultValue).atZone(ZoneId.systemDefault()).toLocalDate().toString();
}
} else if (customFieldDao.getType().equals(CustomFieldType.DATETIME.getValue())) {
if (defaultValue instanceof String) {