Missed Team ’24? Catch up on announcements here.

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

External Web Service Client in JIRA

Bahar Çağlar November 15, 2012

Hi,

I wrote a web service client in java for an external web service, and I want to run it in my jira.

It will work in a workflow step. I mean I need to get some data from JIRA, then I will send them to a web service (server) using web service client.

How can I do this? With writing a plugin, listener or anything else.

I am confused about that.

Thanks for your answers

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Tim B November 15, 2012

Well you can use a listener for that. Check what kind of issue event it is. We use generic events for a transition. Check whether the issue's new status equals the one you want to do the webservice for and act accordingly.


Note that I have experienced difficulties accessing webservices from inside JIRA plugins. JAR & OSGi hell are both present. I have used SOAP succesfully with commons http, auto generated code from WSDL hasn't worked for me yet.

1 vote
Jobin Kuruvilla [Adaptavist]
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.
November 15, 2012

Since it is workflow related, my suggestion would be develop a post function. Also have a look at the new JIRA webhooks because these are pretty good to invoke external services.

Renjith Pillai
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.
November 16, 2012

+1 for Webhooks.

TAGS
AUG Leaders

Atlassian Community Events