hubot-archive / hubot-pager-me

PagerDuty integration for Hubot
https://www.npmjs.com/package/hubot-pager-me
MIT License
73 stars 92 forks source link

Show who's on call for all matching schedules #63

Closed mmrobins closed 8 years ago

mmrobins commented 9 years ago

This is a lot friendlier than just saying "I couldn't determine exactly which schedule you meant". Unless I know the exact schedule name I might not be able to figure out how to get the on call person to show. I also often want to know who's on call for multiple teams that match a string since we have multiple "platform" teams that I oversee.

Only issue I can see here is if someone has a lot of schedules this might spam the chat with all the matches. I would imagine this is an edge case that might not even matter, especially since 'hubot pager schedules foo` would already have that issue since it prints all the matching schedules.

mmrobins commented 9 years ago

Note this supersedes https://github.com/hubot-scripts/hubot-pager-me/pull/61. If this is merged first, that can be closed, if that's merged first a rebase will probably be needed.

stephenyeargin commented 8 years ago

Fixed in v2.1.8