* Add priority to task and story when importing issue from gitlab.

This commit is contained in:
dingguodong
2021-08-05 11:54:16 +08:00
parent fff3e2eae0
commit fcd8102351
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -363,6 +363,7 @@ class storyModel extends model
$story->stage = 'projected';
$story->openedBy = $this->app->user->account;
$story->version = 1;
$story->pri = 3;
$story->assignedDate = isset($story->assignedTo) ? helper::now() : 0;
if(isset($story->execution)) unset($story->execution);
+1
View File
@@ -467,6 +467,7 @@ class taskModel extends model
$task->estimate = 0;
$task->estStarted = '0000-00-00';
$task->left = 1;
$task->pri = 3;
$task->type = 'devel';
$this->dao->insert(TABLE_TASK)->data($task, $skip = 'id,product')