JIRA RPC Services


This page has been archived, as it does not apply to the latest version of JIRA (Server or Cloud). The functionality described on this page may be unsupported or may not be present in JIRA at all.

JIRA's SOAP and XML-RPC remote APIs were removed in JIRA 7.0 for Server ( see announcement).
We encourage you to use JIRA's REST APIs to interact with JIRA remotely (see migration guide).

Overview of the RPC Services

JIRA ships with an RPC plugin that enables limited remote access to JIRA through SOAP and XML-RPC interfaces.

You can find the latest news about the RPC plugin in the Atlassian Plugins project. The full source of the plugin is available and you are free to modify and extend the source. See the RPC Endpoint Plugin Module for more information.

SOAP Service

The JIRA SOAP service is backed by Apache Axis, an open-sourced Java web services framework.

The JIRA SOAP API is not compatible with Axis2 or Xfire. See JRA-12152 for more information.

Also note that there is an unrelated patch for Axis1, which you can download from JRA-20351.

If you're familiar with SOAP, ensure that RPC is enabled and point your stub generator to the /rpc/soap/jirasoapservice-v2?wsdl path of your JIRA installation (for example, http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl) and you're away. If you are less familiar with SOAP, you should first take a look at the SOAP tutorial.

When developing SOAP clients, keep in mind that the SOAP service respects the permissions and screen configurations that are set up in JIRA. For example, if you have configured JIRA so that the screen for a given issue type does not include a 'Summary' field, then you will not be permitted to set a value for the 'Summary' field through the SOAP request.

For the latest information on the remote methods available, see the latest Javadoc for JiraSoapService.

Hint: Take a look at the Command Line Interface for an existing remote scripting tool.

XML-RPC Service

XML-RPC can also be used as an alternative where SOAP is unavailable. You can find some background information on XML-RPC by reading the overview. Start building your own client by following the instructions in the tutorial. The XML-RPC interface is backed by the SOAP interface, and will usually have a subset of methods from the SOAP interface.

For the latest information on the remote methods available, see the latest Javadoc for XmlRpcService . Method calls should be prefixed with jira1. and be made to the URL /rpc/xmlrpc of your installation. The Javadoc will often refer to "hashtables with fields from RemoteObject".

The hashtable will contain keys that map to the fields available through reflection of the particular RemoteObject. For example, the object RemoteVersion has the methods getReleaseDate(), getSequence(), isArchived() and isReleased(). This will be converted into a Hashtable with keys releaseDate, sequence, archived and released.

More information:

JSON-RPC Service

We added JSON-RPC capabilities to JIRA to help you move from the SOAP API to a mechanism that uses more JSON and JavaScript, on the way towards the REST APIs.

The code uses the Java server code that makes up the existing SOAP interface in JIRA. There is a one-to-one mapping between the methods and parameters in the JIRA SOAP API and the equivalent JSON-RPC methods and parameters. The main difference lies in the JSON-RPC wire format.

See the JIRA JSON-RPC Overview.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport