Jira4r: use Ruby to operate JIRA

Source: Internet
Author: User

Jira4r is a Ruby library used to operate the JIRA problem tracking system.
Installation requirements (in Windows ):
1. Ruby
2. soap4r (gem install soap4r)
3. jira4r (gem install jira4r)

If the 'xml processor module not found 'error message appears after require 'jira4r' (in irb), the solution is to open C in windows: \ Ruby193 \ lib \ ruby \ gems \ 1.9.1 \ gems \ soap4r-1.5.8 \ lib \ xsd \ xmlparser. rb, with 66 rows of c. change downcase = name to c. to_s.downcase = name

 

Sample Code:

# Use gem ('soap4r ') to ensure that this package is loaded instead of the default implementation # contained in the ruby interpreter. gem ('soap4r ') gem ('jila') require 'jila' #2 = the version of the WSDL interface. at present, only v2 is supported # "http://jira.atlassian.com" = The Base for your JIRA installation # The module is named Jira4R, not only Jirajira = Jira4R: JiraTool. new (2, "http://jira.yourdomain.com") # Login to the JIRAjira. login ("username", "password") # Get that projectputs jira. getProjectByKey ("XYZ "). inspect

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.