-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incidents reassigned to HUBOT_PAGERDUTY_FROM_EMAIL #125
Comments
@biggless did the work in #111 to bring this over, so there may have been some trade-offs. I don't personally have an account anymore to test with. But I would expect as a user that the |
Based on experience and what's in the docs (linked above and quoted below), PD API v2 will reassign incidents to the user specified in the
|
I too am having this issue after upgrading to the v2 API. Reading the docs, the |
There is possible problem when Slack email doesn't match PagerDuty email. Is it ok in such cases to fallback to static email from config? |
IMO it would be better for a message to be returned to the user saying that the email doesn't match. The API returns a |
@xofer @steve-stonehouse @biggless So is there a chance that #130 might address this? |
I can confirm that #130 fixed this problem for us. (I forked this repo and merged a duplicate of #130 to my fork, then included my branch in Note that we had two separate problems: one was an incorrectly set |
Fix released in |
I may be confused about how this should work.
When I am on call, new incidents are assigned to me, naturally. But when I
misty pager ack
, they are reassigned to the user withHUBOT_PAGERDUTY_FROM_EMAIL
. See below (our hubot is called misty):According to the v1 to v2 migration docs, requester should be specified in the From header. It seems to me that this should be set to the user who's issuing the command (i.e. whatever I set with
misty pager me as ...
).However, it's always set to the same value (
HUBOT_PAGERDUTY_FROM_EMAIL
). This poor guy gets reassigned every ticket.https://github.com/hubot-scripts/hubot-pager-me/blob/414608b3e198b5dacaf5046ae1a9d25692646b57/src/pagerduty.coffee#L15-L19
Am I missing something here?
The text was updated successfully, but these errors were encountered: