Call external SOAP webservice from JIRA

Hi,

We have a requirement to integrate JIRA with external application (this is NOT JIRA application).

External application has SOAP webservice. I need to call this webservice from JIRA on transition post function.

How do we achieve this? Is webhooks can be used for SOAP? Can we use Script Runner? If Yes, example code would be helpful.

Thanks in advance.

1 answer

0 vote
Tayyab Bashir Community Champion Oct 28, 2017

JIRA doesn't support SOAP anymore starting from version 7.x.
You should resort to using REST. 

If you want to inform your web app regarding issue related even, then you can use Webhooks.  (shortcut: g+g --> Webhooks)
Depending on your needs, you can write JIRA listeners and make REST calls from the listener as well.

If you want to make to make Rest calls from your web app to JIRA.
Look for Application Links in your JIRA (shortcut: g+g --> Application Links) 
You can link application there, even authenticate it using OAuth and make rest calls on JIRA.

Jira doesn't have incoming SOAP calls any more, but that does not stop you configuring or writing code for outgoing SOAP calls to other applications that do use it.

Thank you for the reply.One of our JIRA instance still at 6.4.10 and soon planning to upgrade to latest JIRA version.

I am having trouble in creating webhook in JIRA 6.4.10 version, i am keep on getting "Selected WebHook has already been deleted. Please reload the page." error. Our JIRA instance does not have any webhooks and i am not sure why it is complaining.

webhooks in enabled and no errors in the logs.

I noticed following error in logs when restarting JIRA:

2017-10-28 20:10:29,040 localhost-startStop-1 ERROR      [sal.core.upgrade.PluginUpgrader] Upgrade failed: bundle [com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin]
com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin]

2017-10-28 20:11:29,470 localhost-startStop-1 ERROR      [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.jira.event.property.StringApplicationPropertySetEvent@7e9a733d] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.webhooks.plugin.WebHookEventsProcessor.onEvent(java.lang.Object), listener=com.atlassian.webhooks.plugin.WebHookEventsProcessor@e4725cd}]
java.lang.RuntimeException: bundle [com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin]

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot