Skip to content

Commit

Permalink
Merge pull request #251 from evanfuller/evan/support-for-ticket-custo…
Browse files Browse the repository at this point in the history
…m-id

Add support for ticket custom ID field
  • Loading branch information
nukosuke committed Jan 26, 2023
2 parents d7dca6e + e0f3ba0 commit bfc802c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions fixture/GET/ticket.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"description": "Mail to create fixture ticket for testing\n\nnukosuke (●ↀ ω ↀ●)",
"priority": null,
"status": "solved",
"custom_status_id": 12480498776781,
"recipient": "support@d3v-terraform-provider.zendesk.com",
"requester_id": 377922500012,
"submitter_id": 377922500012,
Expand Down
1 change: 1 addition & 0 deletions zendesk/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ type Ticket struct {
Description string `json:"description,omitempty"`
Priority string `json:"priority,omitempty"`
Status string `json:"status,omitempty"`
CustomStatusID int64 `json:"custom_status_id,omitempty"`
Recipient string `json:"recipient,omitempty"`
RequesterID int64 `json:"requester_id,omitempty"`
SubmitterID int64 `json:"submitter_id,omitempty"`
Expand Down

0 comments on commit bfc802c

Please sign in to comment.