* Code for story import.

This commit is contained in:
tanghucheng
2022-08-27 21:55:30 +08:00
parent 72b130fb6c
commit 663434a666
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ $config->testcase->datatable->fieldList['story']['fixed'] = 'no';
$config->testcase->datatable->fieldList['story']['width'] = '90';
$config->testcase->datatable->fieldList['story']['required'] = 'no';
$config->testcase->datatable->fieldList['story']['control'] = 'select';
$config->testcase->datatable->fieldList['story']['dataSource'] = array('module' => 'port', 'method' => 'getRelatedObjects', 'params' => 'testcase&story&id,title');
$config->testcase->datatable->fieldList['story']['dataSource'] = array('module' => 'story', 'method' => 'getProductStoryPairs', 'params' => '$productID&$branch');
$config->testcase->datatable->fieldList['bugs']['title'] = 'B';
$config->testcase->datatable->fieldList['bugs']['fixed'] = 'no';
+3
View File
@@ -187,6 +187,9 @@ switch($argv[1])
case 'gitea':
ztfRun('model/gitea');
break;
case 'webhook':
ztfRun('model/webhook');
break;
default:
ztfExtract($argv[1]);