You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/07/15 06:43:54 UTC
(incubator-devlake) branch dev-2 created (now 52f14c90f)
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a change to branch dev-2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at 52f14c90f fix(jira): fix OriginalToValue in issue_changelogs
This branch includes the following new commits:
new 52f14c90f fix(jira): fix OriginalToValue in issue_changelogs
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: fix(jira): fix OriginalToValue in issue_changelogs
Posted by ly...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch dev-2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 52f14c90f2af4609866f291de848e366e3eb3dac
Author: d4x1 <15...@qq.com>
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)
}