Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to make REST API calls from a JIRA plugin?

Kaushik Veluru
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.
January 27, 2017

Hi, 

I am new to JIRA plugin development. I am developing a plugin in which on clicking a web-item, it has to make a rest api call. How do I achieve this? 

I know a little about webwork action. Is that the way to go? Should the api call be made inside a webwork action?

Please refer to any relevant tutorial. I couldn't find any so far in last 2 days. 

 

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Guilherme Nogueira
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.
February 2, 2017

You can make rest calls in your addon page by using javascript OR you can look for something in java itself.

Try this http://stackoverflow.com/questions/3913502/restful-call-in-java

You can import apache httpClient in your pom.xml

Regards.

TAGS
AUG Leaders

Atlassian Community Events