Skip to content

wildbit/bs-jira-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JIRA

Yet another lightweight JIRA API Wrapper for Ruby.

Installation

Add this line to your application's Gemfile:

gem 'jira', :github => 'chrisledet/jira'

And then execute:

$ bundle install

Example Usage

# Initialize a Jira Client
client = Jira::Client.new("https://myjira.net/", "username", "lolsecure")

# See if it connects
if client.connects?
  puts "Woot. It works :)"
end

# Get all Projects
projects = client.projects

# Post a comment
issue_id = "JIRA-123"
client.add_comment_to_issue(issue_id , "It Just Works!")

# Add a label
client.add_label_to_issue(issue_id , "beta")

Run Tests

$ bundle exec rake test

About

JIRA integration Rubygem for the Rails app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages