How to call REST API from jira post function using script runner

Vineela Durbha April 11, 2019

We have a rest api to create tickets. So we are trying to call that api from post function. Is it possible and can anyone suggest links or code appropriate for the same

1 answer

1 vote
Charly [DEISER]
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.
April 11, 2019
Vineela Durbha April 17, 2019

@Charly [DEISER] 

I have tried to use the code mentioned in above URL but it is throwing multiple errors like RequestContentType undeclared ..body not declared..

no such method called success ..

 

I am getting all the above errors. Can you please help me in resolving this

Suggest an answer

Log in or Sign up to answer