dorack / jiralicious

A Ruby library for interacting with JIRA's REST API
MIT License
49 stars 26 forks source link

jiralicious

Build Status

Examples:

Before doing anything, you must configure your session:

Jiralicious.configure do |config|
  # Leave out username and password
  config.username = "youruser"
  config.password = "yourpass"
  config.uri = "http://example.com/foo/bar"
  config.api_version = "latest"
  config.auth_type = :basic
end

Session configuration is also available via YAML:

jira:
  username: youruser
  password: yourpass
  uri: https://example.com/

Jiralicious.load_yml(File.expand_path("/path/to/jira.yml"))

Search for issues:

result = Jiralicious.search("key = HSP-1") # Any jql can be used here
result.issues

Finding a single issue:

issue = Jiralicious::Issue.find("HSP-1")
issue.key => "HSP-1"

Deprecation Warning

Default auth type is now Basic auth. Cookie auth will be deprecated in the next version.

Changes in 0.6.0

Changes in 0.5.0

Changes in 0.4.2

Changes from 0.4.0 to 0.4.1

Changes from 0.3.0

Changes from 0.2.2

Changes from 0.1.0

Contributors

Contributing to jiralicious

Copyright

Copyright (c) 2013 Jason Stewart. See LICENSE for further details.