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.
Circling back after this issue has been resolved. The problem had to do with our configuration of the load balancer with our Jira dev environment, which only runs on one node. The issue does not persist in prod.
Thanks for the help,
Eric
That is great to hear Eric! Thanks for letting the community know :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
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).
-Eric
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.