The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Marc -Devoteam-
Community Champion
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-
Community Champion
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?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events