Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Send Web Request to a Python Server through JIRA Automation

Akhila Rao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 19, 2024

Hello,

I have a Python server running with Flask. Currently it is running in my local machine.

Whenever there is a change in the due date, I want to send a web request to the server by sending some custom message.

When, i try to validate it gives me 408 error and when the automation is triggered, it gives me "Webhook request was sent, but timed out after 30 seconds on the remote host so the result is unknown (but most likely successful)."

When i send this via Rest Client, i recieve the message.

Does the endpoint have to be another Jira Rest End point or any endpoint can be used?

My webhook URL for the webrequest endpoint goes like this: http://IP_Address:5000/post

1 answer

1 vote
Rick Westbrock
Contributor
September 23, 2024

I would start by checking the log on the Flask side to see what it received in the web request from the automation rule and compare that to what the log shows from a successful request from a REST client (I assume that by client you mean something like cURL or Postman).

It would also be helpful if you share the configuration of your automation rule web request action including headers and body.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events