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: 

How to get header response with Scriptrunner groovy

Rika Mandasari
Contributor
April 13, 2021

How to get header response with scriptrunner groovy after executing REST API POST request with scriptrunner?

 

I have a usecase; if an issue transitioned to closed status, Jira will send rest api post to sms gateway to reporter and I want to capture the header response from the sms gateway and put the value to one of custom field in Jira.

 

please advise

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
PD Sheehan
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 Champions.
May 4, 2021

It really depends on what you are using to make that REST API. 

What library/method are you using?

TAGS
AUG Leaders

Atlassian Community Events