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; return jiraClientV2;
} }
public void setThirdPartTemplate() {
this.isThirdPartTemplate = true;
}
@Override @Override
public List<IssuesDao> getIssue(IssuesRequest issuesRequest) { public List<IssuesDao> getIssue(IssuesRequest issuesRequest) {
issuesRequest.setPlatform(key); issuesRequest.setPlatform(key);
@ -799,7 +803,7 @@ public class JiraPlatform extends AbstractIssuePlatform {
if (defaultValue instanceof String) { if (defaultValue instanceof String) {
msDefaultValue = defaultValue; msDefaultValue = defaultValue;
} else { } 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())) { } else if (customFieldDao.getType().equals(CustomFieldType.DATETIME.getValue())) {
if (defaultValue instanceof String) { if (defaultValue instanceof String) {