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)
  • Loading branch information
sfwn authored Jul 14, 2023
1 parent a6b8732 commit 5cf5e9a
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 5cf5e9a

Please sign in to comment.