* Add bug,story,task push to issues function.

This commit is contained in:
lichengjun
2021-06-29 10:43:30 +08:00
parent 2e9351bad6
commit df508bdfec
3 changed files with 19 additions and 3 deletions
+3
View File
@@ -1219,6 +1219,9 @@ class bugModel extends model
$this->dao->update(TABLE_BUG)->data($bug)->autoCheck()->where('id')->eq((int)$bugID)->exec();
$objectID = $this->loadModel('gitlab')->getGitlabIDprojectID('bug',$bugID);
if($objectID) $this->loadModel('bug')->pushToissue('bug', $bugID, $objectID->gitlabID, $objectID->projectID);
return common::createChanges($oldBug, $bug);
}