+ Add story label func.

This commit is contained in:
dingguodong
2021-06-22 12:17:19 +08:00
parent ccf132cc87
commit 3e18bc7e19
2 changed files with 17 additions and 3 deletions
+9 -3
View File
@@ -7,17 +7,23 @@ $config->gitlab->edit->requiredFields = 'name,url,token';
$config->gitlab->taskLabel = new stdclass();
$config->gitlab->taskLabel->name = "zentao task";
$config->gitlab->taskLabel->description = "task label from zentao";
$config->gitlab->taskLabel->description = "task label from zentao, do NOT remove this";
$config->gitlab->taskLabel->color = "#0033CC";
$config->gitlab->taskLabel->priority = "0";
$config->gitlab->bugLabel = new stdclass();
$config->gitlab->bugLabel->name = "zentao bug";
$config->gitlab->bugLabel->description = "bug label from zentao";
$config->gitlab->bugLabel->description = "bug label from zentao, do NOT remove this";
$config->gitlab->bugLabel->color = "#D10069";
$config->gitlab->bugLabel->priority = "0";
$config->gitlab->zentaoApiWebhookUrl = "%s/api.php?m=gitlab&f=webhook&product=%s&gitlab=%s";
$config->gitlab->storyLabel = new stdclass();
$config->gitlab->storyLabel->name = "zentao story";
$config->gitlab->storyLabel->description = "story label from zentao, do NOT remove this";
$config->gitlab->storyLabel->color = "##69D100";
$config->gitlab->storyLabel->priority = "0";
config->gitlab->zentaoApiWebhookUrl = "%s/api.php?m=gitlab&f=webhook&product=%s&gitlab=%s";
$config->gitlab->zentaoApiWebhookToken = "<access token>";