The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I'm trying to modify the "display at" date of an incident I created, I know it's possible to to it from the web page with:
But I'm using the API to change it.
I work in python and I have a request like:
requests.patch("https://api.statuspage.io/v1/pages/" + page_id +"/incidents/" + incident_id + ".json?api_key=" + api_key + " &incident[display_at]=2016-12-06T08:48:40.375Z")
The incident_id variable is an id of an update, in: incident["incident_updates"][ ]
I got response 200 , but I can't update the display date , also, the incident isn't resolved yet, so I should be able to update it.
Can someone help me ? Tell me where or why I'm wrong ?
Tanks
Alexandre
You have it close to correct, just the wrong parameter. display_at isn't a valid parameter so it's simply ignored by the API.
The parameter you want is backfill_date since you're backfilling the date of the incident.
You can find more details on the incident update api page: https://developer.statuspage.io/#operation/patchPagesPageIdIncidentsIncidentId
We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.