From 825efa2605421a54ad1c5960de9e121a34d68d1a Mon Sep 17 00:00:00 2001 From: zeripath Date: Sun, 13 Dec 2020 11:34:11 +0000 Subject: [API] Add Ref to Issue (#13946) * Add Ref to api.Issue This PR adds Ref to api.Issue and adds the backend parts to the migrator. Fix #13918 Signed-off-by: Andrew Thornton --- modules/migrations/gitea_uploader.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/migrations/gitea_uploader.go') diff --git a/modules/migrations/gitea_uploader.go b/modules/migrations/gitea_uploader.go index 2cb19685fc..20d7d81ae1 100644 --- a/modules/migrations/gitea_uploader.go +++ b/modules/migrations/gitea_uploader.go @@ -333,6 +333,7 @@ func (g *GiteaLocalUploader) CreateIssues(issues ...*base.Issue) error { Index: issue.Number, Title: issue.Title, Content: issue.Content, + Ref: issue.Ref, IsClosed: issue.State == "closed", IsLocked: issue.IsLocked, MilestoneID: milestoneID, -- cgit v1.2.3