refactor: Tapd模板添加Tapd字段勾选项
This commit is contained in:
parent
4e3b2166d0
commit
67828c2a05
|
@ -256,6 +256,7 @@ public class JiraPlatform extends AbstractIssuePlatform {
|
|||
// if (isCustomMap.get(item.getCustomData())) {
|
||||
// fields.put(item.getCustomData(), item.getValue());
|
||||
// } else {
|
||||
// Jira文档说明中自定义字段和系统字段参数格式有区别,实测是一样的
|
||||
JSONObject param = new JSONObject();
|
||||
param.put("id", item.getValue());
|
||||
fields.put(item.getCustomData(), param);
|
||||
|
|
|
@ -177,7 +177,7 @@ public class TapdPlatform extends AbstractIssuePlatform {
|
|||
paramMap.add("current_owner", usersStr);
|
||||
|
||||
customFields.forEach(item -> {
|
||||
if (StringUtils.isNotBlank(item.getCustomData())) {
|
||||
if (StringUtils.isNotBlank(item.getCustomData()) && item.getIsThirdPart() != null && item.getIsThirdPart()) {
|
||||
paramMap.add(item.getCustomData(), item.getValue());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue