-
Notifications
You must be signed in to change notification settings - Fork 246
Open
Description
Teams Object of array on EscalationPolicy i thinks i can be omitempty
type EscalationPolicy struct {
APIObject
Name string `json:"name,omitempty"`
EscalationRules []EscalationRule `json:"escalation_rules,omitempty"`
Services []APIObject `json:"services,omitempty"`
NumLoops uint `json:"num_loops,omitempty"`
Teams []APIReference `json:"teams,omitempty"`
Description string `json:"description,omitempty"`
OnCallHandoffNotifications string `json:"on_call_handoff_notifications,omitempty"`
}
because it fail if i use UpdateEscalationPolicyWithContext
get Response :
HTTP response failed with status code 402, message: Required abilities are unavailable (code: 2014): The teams account ability is required to assign to a team
if it sent object teams with empty array on api update
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels