fix: 勾选第三方模板报告人选不上
--bug=1009269 --user=陈建星 [ github#8862]对接jira填完了但是报“报告人不能为空” https://www.tapd.cn/55049933/s/1091095003
This commit is contained in:
parent
720d24e657
commit
8cda61ec9f
|
@ -183,11 +183,10 @@ public class JiraPlatform extends AbstractIssuePlatform {
|
||||||
isUserKey = true;
|
isUserKey = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (String name : createMetadata.keySet()) {
|
for (String key : createMetadata.keySet()) {
|
||||||
JiraCreateMetadataResponse.Field item = createMetadata.get(name);
|
JiraCreateMetadataResponse.Field item = createMetadata.get(key);
|
||||||
JiraCreateMetadataResponse.Schema schema = item.getSchema();
|
JiraCreateMetadataResponse.Schema schema = item.getSchema();
|
||||||
String key = item.getKey();
|
if (schema == null) {
|
||||||
if (StringUtils.isBlank(key) || schema == null) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (schema.getCustom() != null && schema.getCustom().endsWith("sprint")) {
|
if (schema.getCustom() != null && schema.getCustom().endsWith("sprint")) {
|
||||||
|
|
Loading…
Reference in New Issue