Set issue Index, not ID, when creating issues from an AS object
This commit is contained in:
parent
2d74e4f555
commit
c982b67626
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ func createIssue(ctx context.Context, ticket *forgefed.Ticket) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
issue := &issues_model.Issue{
|
issue := &issues_model.Issue{
|
||||||
ID: idx,
|
Index: idx,
|
||||||
RepoID: repo.ID,
|
RepoID: repo.ID,
|
||||||
Repo: repo,
|
Repo: repo,
|
||||||
Title: ticket.Summary.String(),
|
Title: ticket.Summary.String(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue