Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How do I visually get a red bar if an incident happened in the past.

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?

3 answers

1 vote
Rafael Meira
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 21, 2022

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:

  1. 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.

  2. 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:

 

Copy code
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?

Alan Violada
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 27, 2023

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.

screenshot_modify_uptime_2023-02-21T14:40:30.134Z.gif EDIT UPTIME_2023-02-21T14:41:06.574Z.png

Let me know if you run into any issues with this!

Cheers,
Alan

0 votes
Alan Violada
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 27, 2023

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.

screenshot_modify_uptime_2023-02-21T14:40:30.134Z.gif EDIT UPTIME_2023-02-21T14:41:06.574Z.png

Let me know if you run into any issues with this!

Cheers,
Alan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events