fix: 缺陷平台api调用报错
This commit is contained in:
parent
fa95490cb2
commit
876dd41ebc
|
@ -37,9 +37,9 @@ public class JiraPlatform extends AbstractIssuePlatform {
|
|||
|
||||
public JiraPlatform(IssuesRequest issuesRequest) {
|
||||
super(issuesRequest);
|
||||
this.key = IssuesManagePlatform.Jira.name();
|
||||
jiraClientV2 = new JiraClientV2();
|
||||
setConfig();
|
||||
this.key = IssuesManagePlatform.Jira.name();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -38,9 +38,9 @@ public class TapdPlatform extends AbstractIssuePlatform {
|
|||
|
||||
public TapdPlatform(IssuesRequest issueRequest) {
|
||||
super(issueRequest);
|
||||
this.key = IssuesManagePlatform.Tapd.name();
|
||||
tapdClient = new TapdClient();
|
||||
setConfig();
|
||||
this.key = IssuesManagePlatform.Tapd.name();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -39,11 +39,11 @@ public class ZentaoPlatform extends AbstractIssuePlatform {
|
|||
|
||||
public ZentaoPlatform(IssuesRequest issuesRequest) {
|
||||
super(issuesRequest);
|
||||
this.key = IssuesManagePlatform.Zentao.name();
|
||||
ZentaoConfig zentaoConfig = getConfig();
|
||||
this.workspaceId = issuesRequest.getWorkspaceId();
|
||||
this.zentaoClient = ZentaoFactory.getInstance(zentaoConfig.getUrl(), zentaoConfig.getRequest());
|
||||
this.zentaoClient.setConfig(zentaoConfig);
|
||||
this.key = IssuesManagePlatform.Zentao.name();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -119,3 +119,6 @@ CREATE TABLE IF NOT EXISTS `enterprise_test_report_send_record` (
|
|||
|
||||
|
||||
CREATE INDEX issues_platform_id_IDX ON issues (platform_id);
|
||||
|
||||
ALTER TABLE issues MODIFY COLUMN title varchar(300);
|
||||
ALTER TABLE issues MODIFY COLUMN description LONGTEXT;
|
||||
|
|
Loading…
Reference in New Issue