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 10:24:27 UTC

[incubator-devlake] branch fix#6030 updated: fix: opened date logic

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch fix#6030
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/fix#6030 by this push:
     new 23a8068b2 fix: opened date logic
23a8068b2 is described below

commit 23a8068b20b8973f9f45c1f9a9023be4ff27a659
Author: abeizn <zi...@merico.dev>
AuthorDate: Thu Sep 7 18:24:12 2023 +0800

    fix: opened date logic
---
 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 91bb92f4f..3316066ab 100644
--- a/backend/plugins/zentao/tasks/execution_convertor.go
+++ b/backend/plugins/zentao/tasks/execution_convertor.go
@@ -101,7 +101,7 @@ func ConvertExecutions(taskCtx plugin.SubTaskContext) errors.Error {
 			if domainStatus == `FUTURE` {
 				sprint.StartedDate = toolExecution.PlanBegin.ToNullableTime()
 			} else {
-				sprint.StartedDate = toolExecution.RealBegan.ToNullableTime()
+				sprint.StartedDate = toolExecution.OpenedDate.ToNullableTime()
 			}
 
 			boardSprint := &ticket.BoardSprint{