* Add priority to task and story when importing issue from gitlab.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user