mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(测试跟踪): 关联jira缺陷,保存用例报错
This commit is contained in:
parent
db47ab5f5b
commit
2043466cd2
@ -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
Block a user