Skip to content
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

Client does not trigger events #101

Closed
pavel-si opened this issue Dec 20, 2017 · 1 comment
Closed

Client does not trigger events #101

pavel-si opened this issue Dec 20, 2017 · 1 comment

Comments

@pavel-si
Copy link

	Type:        "trigger", 
	ServiceKey:  <token>,
	Description: <message>,
}
pagerduty.CreateEvent(event)

does not trigger the alert because json tags on Event do not match the required format here: https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2

@tmccleve
Copy link

This package is currently using the v2 api, but v1 events. See https://v2.developer.pagerduty.com/docs/trigger-events

Line referencing v1 events https://github.com/PagerDuty/go-pagerduty/blob/master/event.go#L10

Both #83 and #100 are both centric to v2 event support.

@ghost ghost closed this as completed May 15, 2018
This issue was closed.
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

No branches or pull requests

2 participants