wildbit / bs-jira-gem

JIRA integration Rubygem for the Rails app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Ruby 100.0%