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 cde517ae6c
commit 9b9f69468e
1 changed files with 5 additions and 1 deletions

View File

@ -57,6 +57,10 @@ public class JiraPlatform extends AbstractIssuePlatform {
return jiraClientV2;
}
public void setThirdPartTemplate() {
this.isThirdPartTemplate = true;
}
@Override
public List<IssuesDao> getIssue(IssuesRequest issuesRequest) {
issuesRequest.setPlatform(key);
@ -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) {