Skip to content

Commit

Permalink
fix: don't fail when issue type is unsupported
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Oct 8, 2024
1 parent d88104e commit e1036b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schema/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const issueTypeSchema = z
z.literal('Bug'),
z.literal('Story'),
z.literal('Epic'),
z.string(),
])
.transform(val => {
switch (val) {
Expand All @@ -91,6 +92,7 @@ export const issueStatusSchema = z
z.literal('In Progress'),
z.literal('Integration'),
z.literal('Release Pending'),
z.string(),
])
.transform(val => {
switch (val) {
Expand Down

0 comments on commit e1036b5

Please sign in to comment.