fix(测试跟踪): Jira多选用户字段同步问题
--bug=1018604 --user=宋昌昌 【测试跟踪】项目集成jira-缺陷管理-同步缺陷-报告人未同步成功 https://www.tapd.cn/55049933/s/1281039
This commit is contained in:
parent
cde517ae6c
commit
9b9f69468e
|
@ -56,6 +56,10 @@ public class JiraPlatform extends AbstractIssuePlatform {
|
||||||
public JiraClientV2 getJiraClientV2() {
|
public JiraClientV2 getJiraClientV2() {
|
||||||
return jiraClientV2;
|
return jiraClientV2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setThirdPartTemplate() {
|
||||||
|
this.isThirdPartTemplate = true;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<IssuesDao> getIssue(IssuesRequest issuesRequest) {
|
public List<IssuesDao> getIssue(IssuesRequest issuesRequest) {
|
||||||
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue