Dear community,
I am trying to set service “incident_urgency_rule” to “severity_based” through API (http):
{
"service": {
"type": "service",
"name": "XXXXXX",
"description": null,
"auto_resolve_timeout": null,
"acknowledgement_timeout": null,
"status": "active",
"escalation_policy": {
"id": "XXXXXXX",
"type": "escalation_policy_reference"
},
"incident_urgency_rule": {
"type": "constant",
"urgency": "severity_based"
},
"support_hours": {
"type": "fixed_time_per_day",
"time_zone": "Europe/Berlin",
"start_time": "08:00:00",
"end_time": "18:00:00",
"days_of_week": [
1,
2,
3,
4,
5
]
},
"scheduled_actions": [],
"alert_creation": "create_alerts_and_incidents"
}
}
And I get this error:
{
"error": {
"message": "Invalid Input Provided",
"code": 2001,
"errors": [
"Active urgency must be in high, low, or severity_based."
]
}
}
This has already been discussed here in these forums (in regards to Terraform). And here in github (also related to Terraform) but it’s not a problem with the Terraform provider, it’s an API issue.
Both issues in these posts seem unresolved. We would need this feature to work. How can we get there?
Thanks and kinds regards
Daniel