Commit 2c83a76d authored by chenjianxing's avatar chenjianxing Committed by jianxing
Browse files

fix: 勾选第三方模板报告人选不上

--bug=1009269 --user=陈建星 [ github#8862]对接jira填完了但是报“报告人不能为空” https://www.tapd.cn/55049933/s/1091095003
parent 622067d8
Showing with 3 additions and 4 deletions
+3 -4
......@@ -186,11 +186,10 @@ public class JiraPlatform extends AbstractIssuePlatform {
isUserKey = true;
}
for (String name : createMetadata.keySet()) {
JiraCreateMetadataResponse.Field item = createMetadata.get(name);
for (String key : createMetadata.keySet()) {
JiraCreateMetadataResponse.Field item = createMetadata.get(key);
JiraCreateMetadataResponse.Schema schema = item.getSchema();
String key = item.getKey();
if (StringUtils.isBlank(key) || schema == null) {
if (schema == null) {
continue;
}
if (schema.getCustom() != null && schema.getCustom().endsWith("sprint")) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment