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

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 Leaders.
May 4, 2021

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

What library/method are you using?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, opsgenie migration, jira service management, incident response, on‑call management, alerting tools, migration guide, devops operations, service reliability, atlassian learning, migration best practices, opsgenie support, IT operations

Join the Opsgenie Migration group 🚚

Heads up! Opsgenie's features are moving to Jira Service Management and Compass. Planning your migration? Join our dedicated group for resources and tips from Atlassian and the Community to ensure a smooth transition.

Check it out ↗
AUG Leaders

Atlassian Community Events