I have got the following payload working except for the component. Affected Components are not being updated.
incident[components] is invalid (HTTP Status Code: 400)
Any suggestions is much much appreciated.
Update:
revised to the following
{
"statuspage_id": "ID",
"incident": {
"name": "Test Incident",
"details": "Incident description from Slack",
"component_ids": [
"XXX",
"YYY",
"ZZZ"
],
"deliver_notifications": true
}
}
now stuck in setting component status to degraded performance.
Hey Dianey,
Thanks for reaching out to Atlassian Community!
It looks like you're nearly there with your payload, but you're having trouble updating the status of individual components. Here's a suggestion:
component_ids
to identify the components you want to affect.components
to specify the status of the components individually.Try the following structure:
{
"statuspage_id": "ID",
"incident": {
"name": "Test Incident",
"details": "Incident description from Slack",
"component_ids": [
"XXX",
"YYY",
"ZZZ"
],
"components": {
"XXX": "degraded_performance",
"YYY": "operational",
"ZZZ": "partial_outage"
},
"deliver_notifications": true
}
}
operational
degraded_performance
partial_outage
major_outage
This should allow you to correctly update the status of the components in your incident.
Best Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.