mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 19:49:10 +08:00
fix(测试跟踪): 缺陷管理新增同步到Jira必填值校验问题
--bug=1016093 --user=宋昌昌 【测试跟踪】提交缺陷到jira,勾选“使用Jira缺陷模版”,提交缺陷失败 https://www.tapd.cn/55049933/s/1231870
This commit is contained in:
parent
5291bfa9fa
commit
7979b129dc
@ -24,6 +24,7 @@ import io.metersphere.track.request.testcase.IssuesUpdateRequest;
|
||||
import io.metersphere.track.service.IssuesService;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang.StringEscapeUtils;
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.client.HttpClientErrorException;
|
||||
@ -408,7 +409,7 @@ public class JiraPlatform extends AbstractIssuePlatform {
|
||||
customFields.forEach(item -> {
|
||||
String fieldName = item.getCustomData();
|
||||
if (StringUtils.isNotBlank(fieldName)) {
|
||||
if (item.getValue() != null) {
|
||||
if (ObjectUtils.isNotEmpty(item.getValue())) {
|
||||
if (StringUtils.isNotBlank(item.getType())) {
|
||||
if (StringUtils.equalsAny(item.getType(), "select", "radio", "member")) {
|
||||
JSONObject param = new JSONObject();
|
||||
|
Loading…
Reference in New Issue
Block a user