Skip to end of metadata
Go to start of metadata


Simply drop your require statement at the top of your script

Creating an object

Now create the jira4r object:

  • 2 = the version of the WSDL interface. At present, only v2 is supported.
  • "" = The URL base for your JIRA installation


Login to the JIRA instance in question

Once you've logged in, the jira4r package will use your authentication token on all future requests. This makes calling JIRA methods a breeze!

Get that project!

The Output

The Complete Script

Could it get much simpler?

  • No labels


  1. After having spent some time to debug this documentation, I would like to present what has worked for me.

    So the differences were:

    1. I had to send gem('soap4r') to ensure that this package is loaded instead of the default implementation contained in the ruby interpreter.
    2. Perhaps the gem('jira4r') is not necessary.
    3. I had to require 'jira4r', not 'jira4r/jira4r'.
    4. The module is named Jira4R, not only Jira

    Could you adapt the documentation to the source code, so that others may be use the script in less than 2 hours?


  2. I hit some problems running this under ruby 1.8.7 with a


    Cannot map Object to SOAP/OM

    error. It seems to relate to this email thread (found via this article). Anyway, for anyone with this problem changing lines 48 to 52 of jira4r.rb from

      if args.length > 0, *args)    


      if args.length > 0"#@token", *args)    

    makes sure that the @token credentials are recognised as strings and everything worked from that point on. Hope that saves a bit of time to anyone who had the same problem i did!

    Thanks for the pluggin - its been very useful!



  3. I had to do the same things as Markus.

    Please update!

    Also, I get errors when running getIssuesFromFilterWithLimit: NameError: undefined method `getIssuesFromFilterWithLimit' for class `Jira4R::V2::JiraSoapService' — why isn't a wsdl method available to jira4r?