fix(测试跟踪): 关联jira缺陷,保存用例报错
This commit is contained in:
parent
eec1f5f362
commit
3fd9430b47
|
@ -123,12 +123,8 @@ public class IssuesService {
|
|||
@Resource
|
||||
StringRedisTemplate stringRedisTemplate;
|
||||
@Resource
|
||||
IssueFileMapper issueFileMapper;
|
||||
@Resource
|
||||
private AttachmentService attachmentService;
|
||||
@Resource
|
||||
private AttachmentModuleRelationMapper attachmentModuleRelationMapper;
|
||||
@Resource
|
||||
private ProjectMapper projectMapper;
|
||||
@Resource
|
||||
SqlSessionFactory sqlSessionFactory;
|
||||
|
|
|
@ -30,8 +30,6 @@ public class PlatformPluginService {
|
|||
private BasePluginService basePluginService;
|
||||
@Resource
|
||||
private BaseIntegrationService baseIntegrationService;
|
||||
@Resource
|
||||
private BaseProjectService baseProjectService;
|
||||
|
||||
private PlatformPluginManager pluginManager;
|
||||
|
||||
|
|
|
@ -428,9 +428,10 @@ public class TestCaseService {
|
|||
}
|
||||
issuesRequest.setProjectId(testCase.getProjectId());
|
||||
issuesRequest.setWorkspaceId(project.getWorkspaceId());
|
||||
IssueFactory.createPlatform(issuesService.getPlatform(testCase.getProjectId()), issuesRequest)
|
||||
.updateDemandIssueLink(testCase, project);
|
||||
|
||||
IssuesPlatform platform = IssueFactory.createPlatform(issuesService.getPlatform(testCase.getProjectId()), issuesRequest);
|
||||
if (platform != null) {
|
||||
platform.updateDemandIssueLink(testCase, project);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue