JIRA SOAP API documentation?

I am creating some custom tools for working with a JIRA installation, and the open SOAP API is fine, except that none of the arguments are named.

For example, a prototype for getIssue:

RemoteIssue getIssue (string in0, string in1); 

All SOAP RPC methods follow this convention, so without documentation it’s pretty hard for me to figure out what to pass on many of them.

Does anyone know the definitive API documentation guide?

+6
soap automation jira
source share
4 answers

I found it pretty easy to figure out what options should be. Depending on how difficult you are, you can guess what you must go through.

There is one super important one (this is Python with SOAPpy):

 self.proxy = WSDL.Proxy( jiraUrl ) self.token = self.proxy.login(self.username, self.password) ... issues = self.proxy.getIssuesFromFilter(self.token, args[0]) 

After receiving the token from the login () method, you need to pass it as a parameter to all other SOAP calls. Having figured this out, it was pretty simple to figure out what parameters should be (for example, getIssuesFromFilter should take filterId as another parameter)

+3
source share
+3
source share

The javadoc link you found is correct. You should also know that not everything is available through SOAP or RPC interfaces, but you can do anything using the REST interface. Unfortunately, the REST interface is poorly documented, but you can use an HTML traffic verification tool (for example, Fiddler for IE) to capture the actual POST data sent to the server from the web interface and combine the interface for a specific call if necessary. Not always the easiest way, but it works.

+2
source share

All Articles