You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/09/07 03:29:22 UTC
[incubator-devlake] branch fix-zentao-sprints-bug updated: fix: update completed_date field
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch fix-zentao-sprints-bug
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/fix-zentao-sprints-bug by this push:
new 3e4e4b38a fix: update completed_date field
3e4e4b38a is described below
commit 3e4e4b38ad464332c01d2cb037bc15e9249b4a27
Author: abeizn <zi...@merico.dev>
AuthorDate: Thu Sep 7 03:29:11 2023 +0000
fix: update completed_date field
---
backend/plugins/zentao/tasks/execution_convertor.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/plugins/zentao/tasks/execution_convertor.go b/backend/plugins/zentao/tasks/execution_convertor.go
index fdf900d71..484985195 100644
--- a/backend/plugins/zentao/tasks/execution_convertor.go
+++ b/backend/plugins/zentao/tasks/execution_convertor.go
@@ -95,7 +95,7 @@ func ConvertExecutions(taskCtx plugin.SubTaskContext) errors.Error {
Status: domainStatus,
StartedDate: toolExecution.RealBegan.ToNullableTime(),
EndedDate: toolExecution.PlanEnd.ToNullableTime(),
- CompletedDate: toolExecution.RealEnd.ToNullableTime(),
+ CompletedDate: toolExecution.ClosedDate.ToNullableTime(),
OriginalBoardID: projectIdGen.Generate(toolExecution.ConnectionId, data.Options.ProjectId),
}