File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
backend/plugins/zentao/tasks Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ func ExtractBugCommits(taskCtx plugin.SubTaskContext) errors.Error {
6060 if err != nil {
6161 return nil , errors .Default .WrapRaw (err )
6262 }
63- // only linked2revision action is valid
64- if res .Action != "linked2revision" {
63+ // only linked2revision and gitcommited action is valid
64+ if res .Action != "linked2revision" && res . Action != "gitcommited" {
6565 return nil , nil
6666 }
6767
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ func ExtractStoryCommits(taskCtx plugin.SubTaskContext) errors.Error {
5656 return nil , errors .Default .WrapRaw (err )
5757 }
5858
59- // only linked2revision action is valid
60- if res .Action != "linked2revision" {
59+ // only linked2revision and gitcommited action is valid
60+ if res .Action != "linked2revision" && res . Action != "gitcommited" {
6161 return nil , nil
6262 }
6363
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ func ExtractTaskCommits(taskCtx plugin.SubTaskContext) errors.Error {
5656 return nil , errors .Default .WrapRaw (err )
5757 }
5858
59- // only linked2revision action is valid
60- if res .Action != "linked2revision" {
59+ // only linked2revision and gitcommited action is valid
60+ if res .Action != "linked2revision" && res . Action != "gitcommited" {
6161 return nil , nil
6262 }
6363
You can’t perform that action at this time.
0 commit comments