Which Remote API, actually works with JIRA

kamal2222ahmed September 28, 2011

I have tried XML/RPC , REST , and Python CLI, only Python CLI seems to worrk, and only on 4.1.2 version of Jira.

From the example, i tried to access: and i tried several jira instances

https://jira.atlassian.com/rpc/xmlrpc

but got error:

<name>faultString</name>

<value>
java.lang.NoSuchMethodException: com.atlassian.jira.rpc.xmlrpc.JiraXmlRpcService.getVersions()
</value>
</member>

<member>
<name>faultCode</name>

Can someone tell me which API works with jira 4.4., or jira 4.1.2 onwards.

Thanks,

2 answers

1 accepted

2 votes
Answer accepted
Bob Swift (personal)
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.
September 28, 2011

They all work and are used by many people, but do require proper setup and use :). JIRA Command Line Interface is also available. Both of the CLIs rely on JIRA interfaces like XML/RPC, SOAP, REST, and in a few cases JIRA UI access.

kamal2222ahmed September 28, 2011

Yes, thanks Bob, The Documentation is a bit terse though

getIssue

java.util.Hashtable getIssue(java.lang.String token,
                             java.lang.String issueKey)
                             throws java.lang.Exception

    Gets an issue from a given issue key. The Hashtable returned have nested Hashtables for keys, components, affectsVersions, fixVersions and customFieldValues.

    Parameters:
        token - 
        issueKey - the key of an issue (e.g. JRA-111) 

token actually means the return object from jira1.login("","")
i could not get SOAP to work, since SOAPy is no longer updated.

0 votes
Bob Swift (personal)
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.
September 28, 2011
In that case, use the higher level CLI that has already dealt with all the lower level API complexities.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events