Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby gem for talking to Jira. Provides the sexiness we expect from ruby.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
README.md
better_jira.gemspec

README.md

Work in progress

This project is still in development. I am still tweaking the APIs on a regular basis. Please avoid using this gem unless you are okay with changing APIs.

The latest version on rubygems.org is v0.0.1.

Docs

master branch @ rubydoc.info

Examples

Print out all issue keys, their available actions, and the fields you can edit with the first action available

require 'better_jira'

ALL_ISSUES_FILTER_ID = 33323


jira = BetterJira::Jira.new
jira.login('usename', 'password')

jira.each_issue_from_filter(ALL_ISSUES_FILTER_ID) { |issue|
    puts "- Found issue #{issue[:key]}"
    puts "Actions: "
    actions = issue.available_actions # Connects to server to get actions
    pp actions
    puts ""
    puts "Fields for action #{actions.first.to_s}:"
    pp jira.fields_for_action_id(actions.first[0]) # Connects to server to get fields
}
Something went wrong with that request. Please try again.