Hello, I'm using the Statuspage api to create incidents in Statuspage using a Jira workflow. On certain Jira transitions, Jira automation sends the web request to statuspage. When testing outside of Jira (using powershell), there are no issues. When using the workflow/automation, the very first time it runs, I get an "HTTP status 500" error response. The next time I run it, using the same issue request or new one, the automation succeeds, and any subsequent web requests succeed. Can anyone help me in understanding why the first call fails? It seems to be time dependent. After the first failure, all works as expected right after. But, if I walk away and try again 30 minutes later, the first web request fails again, and any subsequent attempts work fine. See attached print screens for the error and the "create incident" web request.
That issue is quite interesting! I did look and found a similar issue being reported in this community post
It looks like this user resolved it by changing the format of the JSON, but that does not seem to be the case here.
I would recommend setting up a webhook to also post the payload out to a site like https://webhook.site/ this will allow you to see if the non-statuspage endpoint received the payload and without issues. This will also help verify the payloads between the send-offs are the same.
I hope this helps get you in the right direction. Additionally, if this comes down to an issue with Automation for Jira we will need to get that reported to the appropriate team.
Opening up a ticket to the Statuspage support product at support.atlassian.com will assist us in collecting all needed information for this.
Thanks so much
Thanks for the recommendations. Using webhook.site I verified the payload was sent/received using Jira Automation each time without issue, while Statuspage is still returning a 500 error on the first POST, then succeeding on subsequent POSTs. I tested again with powershell as well, and all POSTs succeeded with no issues. It seems the issue may be with Jira Automation. I've opened a ticket via support.atlassian.com (SPSP-21223).
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 event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events