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.
- "http://jira.atlassian.com" = 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 Complete Script
Could it get much simpler?