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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,066
Community Members
 
Community Events
184
Community Groups

How to create past incident on status page using API.

Hi,

 

I want to create past incidents on the status page using API because I want to automate the process.

 

Thanks

Kuvar Vaibhav Singh 

1 answer

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

Hey Kuvar, Alan from the Statuspage support team here, thanks for reaching out with this question. You can create backfilled incidents via the Manage API by using the "Create an incident" endpoint: Endpoint documentation and passing the below parameters to the request:

 

"backfill_date": "Your desired date here",

"backfilled": true,
This will create a resolved incident that will appear on your incident history with the corresponding date.
Let me know if that answers your question!
Regards,
Alan

Thanks for the quick response 

 

I am using the following parameter and am able to create an incident but it's not showing in the incident history.

"name": "ABC",
"backfill_date": "2023-04-20 16:21:44",
"backfilled": true,
"body": "ABC is not working",

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

Hey Kuvar, thanks for getting back to me. I just tested on my side with the below request parameters, and the incident was created successfully and shows up in the "Incidents" tab in the management portal, as well as the "Past incidents" part of the page.

What response are you receiving when sending the request? Could you specify the page ID so we can take a look?

POST https://api.statuspage.io/v1/pages/{page_id}/incidents

{

"incident": {

"name": "ABC1 TESTING",

"backfill_date": "2023-04-20 16:21:44",

"backfilled": true,

"body": "ABC is not working"

}

}
Regards,
Alan

Thank you Alan

Now I am able to create past incidents.

 

Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events