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

lynwee pushed a commit to branch 10-cp
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit eb38a8fbe3274224bd6349127778769a888bc951
Author: d4x1 <[email protected]>
AuthorDate: Mon Jul 15 14:43:43 2024 +0800

    fix(jira): fix OriginalToValue in issue_changelogs
---
 backend/plugins/jira/tasks/issue_changelog_convertor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/jira/tasks/issue_changelog_convertor.go 
b/backend/plugins/jira/tasks/issue_changelog_convertor.go
index 1eeafb131..090674b13 100644
--- a/backend/plugins/jira/tasks/issue_changelog_convertor.go
+++ b/backend/plugins/jira/tasks/issue_changelog_convertor.go
@@ -163,7 +163,7 @@ func ConvertIssueChangelogs(subtaskCtx 
plugin.SubTaskContext) errors.Error {
                                if fromAccountId != "" {
                                        changelog.OriginalFromValue = 
accountIdGen.Generate(connectionId, fromAccountId)
                                }
-                               toAccountId := 
tryToResolveAccountIdFromAccountLikeField(row.Field, row.TmpFromAccountId, 
row.FromValue, issueFieldMap)
+                               toAccountId := 
tryToResolveAccountIdFromAccountLikeField(row.Field, row.TmpToAccountId, 
row.ToValue, issueFieldMap)
                                if toAccountId != "" {
                                        changelog.OriginalToValue = 
accountIdGen.Generate(connectionId, toAccountId)
                                }

Reply via email to