I know it is possible to create a backfill an incident.
But I want it also visually in the bar with the color red. How can you do this?
Hey Bartbehage,
My name is Rafa with the Statuspage support.
To visually backfill an incident in Statuspage, you will need to use the Statuspage API to update the incident status. Here is an example of how to do this using cURL:
First, make sure you have the incident ID of the incident that you want to backfill. You can find the incident ID in the URL of the incident page, or by using the List Incidents API endpoint.
Next, use the Update an Incident API endpoint to update the incident status to "investigating." You will need to include the incident ID in the endpoint URL, and pass the status and backfill parameters in the request body. Here is an example of how to do this using cURL:
curl -X PATCH "https://api.statuspage.io/v1/pages/{page_id}/incidents/{incident_id}" \
-H "Authorization: OAuth {api_key}" \
-H "Content-Type: application/json" \
-d '{
"incident": {
"status": "investigating",
"backfill": true
}
}'
This will update the incident status to "investigating" and visually backfill the incident in the status page timeline. The incident will appear in the timeline with a red bar to indicate that it is in progress.
Here is the API documentation API
I hope this helps! :)
Best
Rafa
Sorry, but this does not give a good result, see image below
Could there be a bug in the frond-end?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Bartbehage, your best bet for your use case, in order for the changes to appear on the graph, would be to directly edit the component uptime for that day by going into the "Components" tab, clicking on the desired component, then clicking on the desired day in the graph, and changing either the "Partial outage" or "Major outage" times for that day as you wish, then clicking save. That should then start reflecting on your uptime graph, as well as the uptime percentage calculation.
Let me know if you run into any issues with this!
Cheers,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Bartbehage, your best bet for your use case, in order for the changes to appear on the graph, would be to directly edit the component uptime for that day by going into the "Components" tab, clicking on the desired component, then clicking on the desired day in the graph, and changing either the "Partial outage" or "Major outage" times for that day as you wish, then clicking save. That should then start reflecting on your uptime graph, as well as the uptime percentage calculation.
Let me know if you run into any issues with this!
Cheers,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.