PagerDuty / go-pagerduty

go client library for PagerDuty v2 API
https://v2.developer.pagerduty.com/docs/rest-api
Apache License 2.0
285 stars 241 forks source link

Support updating incidents #527

Open simontabor opened 4 months ago

simontabor commented 4 months ago

https://developer.pagerduty.com/api-reference/8a0e1aa2ec666-update-an-incident

The manage incidents endpoint doesn't support changing the incident urgency, which Put Incident does support.

It looks like this was originally raised in https://github.com/PagerDuty/go-pagerduty/issues/178 but no justification was given to actually need both of them, but the Urgency field is the main difference.