Skip to content

Conversation

cluarkhpe
Copy link
Contributor

When using use_support_hours as the type for incident_urgency_rule you have to specify the scheduled_actions array as well.
The PagerDuty API allows this array to be empty, but an empty array will be omitted from the JSON.
This causes API errors when trying to create services that notify based on support hours but don't have any scheduled actions.

Copy link

@stmcallister stmcallister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for submitting this! 🎉

@stmcallister stmcallister merged commit 4e509b8 into PagerDuty:master Dec 8, 2020
@theckman theckman added this to the v1.4.0 milestone Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants