You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I want to create past incidents on the status page using API because I want to automate the process.
Thanks
Kuvar Vaibhav Singh
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,
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",
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
}
}
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.