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 2024/07/15 06:48:39 UTC
(incubator-devlake) branch main updated: fix(jira): fix OriginalToValue in issue_changelogs (#7737)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new e0599d18d fix(jira): fix OriginalToValue in issue_changelogs (#7737)
e0599d18d is described below
commit e0599d18dae60536a24a20dbd898e0acaff1229c
Author: Lynwee <15...@qq.com>
AuthorDate: Mon Jul 15 14:48:34 2024 +0800
fix(jira): fix OriginalToValue in issue_changelogs (#7737)
---
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)
}