Skip to content

Commit

Permalink
fix(jira): fix OriginalToValue in issue_changelogs (#7737) (#7738)
Browse files Browse the repository at this point in the history
Co-authored-by: Lynwee <1507509064@qq.com>
  • Loading branch information
github-actions[bot] and d4x1 authored Jul 15, 2024
1 parent 5ccfd15 commit 9dbff0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plugins/jira/tasks/issue_changelog_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func ConvertIssueChangelogs(taskCtx 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)
}
Expand Down

0 comments on commit 9dbff0d

Please sign in to comment.