Skip to content

Commit

Permalink
fix: treat TICKET as a valid type at createIssueCustomFieldRelation w…
Browse files Browse the repository at this point in the history
…hen import ticket (#5984) (#5986)

Co-authored-by: sfwn <[email protected]>
  • Loading branch information
erda-bot and sfwn authored Jul 14, 2023
1 parent a7058a3 commit 33507bc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ func (data *DataForFulfill) createIssueCustomFieldRelation(issues []*issuedao.Is
case pb.IssueTypeEnum_BUG.String():
cfsNeedHandled = model.BugOnly.CustomFields
cfType = pb.PropertyIssueTypeEnum_BUG
case pb.IssueTypeEnum_TICKET.String():
default:
return fmt.Errorf("invalid issue type, issue type: %s", issue.Type)
}
Expand Down

0 comments on commit 33507bc

Please sign in to comment.