JIRA Automation - Send Web Request

Akash March 13, 2025

Hi All, I am using Send Web Request in JIRA automation. I have deployed a Google Apps Script. I have tested using Postman and It's giving correct response in Postman.
But when I use the Web URL in Send Web Request, I get the following 302 error.

The google apps script intake two Date Time values from custom fields in JIRA and returns time difference.

Please let me know. Thanks.

Send Web Request error.png

1 answer

1 vote
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2025

Hi @Akash 

The 302 is coming from the Google site.

I suspect it has something to do with not providing the correct Headers.

In your rule also see them greyed out, if you need to use headers, even if the same as the greyed out, you will need to provide them.

Akash March 13, 2025


Hi Marc, After adding the Headers, I am still getting the same error. Do we need to add some different headers here.
Send Web Request error.png


Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2025

Hi @Akash 

Check what the issue can be as the Google API is giving the 302, what does that mean on the Google API site.

Is there a requirement for authorization headers maybe?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events