Closed auduny closed 5 years ago
any news on this? I'm having the same behavior almost a year later.
Schedule call lands here:
Which supposedly appends a query string here:
That last bit may not match the on-call endpoint, so that's what would need to be adjusted. I do not have a PagerDuty account any longer, but that should get somebody going in the right direction.
Is seems that the problem is that the check on line 36 is checking for incident while the who's on call
command uses the /schedules
link. One further level of problem is that the HUBOT_PAGERDUTY_SERVICES is specifying "services" as the name implies, so a further check would be needed in order to understand what "schedules" to query.
Trying to propose a different approach here with a little addition:
@stephenyeargin could you please take a look? If that's a reasonable feature we may work on expanding the same approach to all the other commands.
Yep, I think this would be fine. Thanks for working on it. Left a request for some documentation updates.
Closed via #117
Hi.
I've added HUBOT_PAGERDUTY_SERVICES to limit hubot to report on only one service
But "who's on call?" still returns all on-call schedules? Is that intentional?