diff --git a/services/pull/merge.go b/services/pull/merge.go index 416c744463..4c90983f0d 100644 --- a/services/pull/merge.go +++ b/services/pull/merge.go @@ -45,6 +45,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 := "#"