diff --git a/services/pull/merge.go b/services/pull/merge.go index e6f02e6e0208..33c7455c0877 100644 --- a/services/pull/merge.go +++ b/services/pull/merge.go @@ -44,6 +44,9 @@ func getMergeMessage(ctx context.Context, baseGitRepo *git.Repository, pr *issue if err := pr.LoadIssue(ctx); err != nil { return "", "", err } + if err := pr.Issue.LoadPoster(ctx); err != nil { + return "", "", err + } isExternalTracker := pr.BaseRepo.UnitEnabled(ctx, unit.TypeExternalTracker) issueReference := "#"