jira-rest
Installation
Add this line to your application's Gemfile:
gem 'jirarest'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jira-rest
Usage
require 'jira-rest'
@jira = JiraRest::Client.new(jira_host, username, password)
Query by hash
hash_query = {:project => 'DEMO', :status => '"in progress", Open'}
@jira.search.query_by_hash(hash_query)
optional:
@jira.search.query_by_hash(hash_query, return_fields, maxresults)
Query by jql string
jql_query = "project in (DEMO) AND status in ("in progress", Open)"
@jira.search.jqlquery(jql_query)
optional:
@jira.search.jqlquery(jql_query, return_fields, maxresults)
Search by issue key
@jira.search.issue "JRA-9"
Get filter issues
@jira.search.filter "12843"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
gem 'jirarest'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jira-rest
Usage
require 'jira-rest'
@jira = JiraRest::Client.new(jira_host, username, password)
Query by hash
hash_query = {:project => 'DEMO', :status => '"in progress", Open'}
@jira.search.query_by_hash(hash_query)
optional:
@jira.search.query_by_hash(hash_query, return_fields, maxresults)
Query by jql string
jql_query = "project in (DEMO) AND status in ("in progress", Open)"
@jira.search.jqlquery(jql_query)
optional:
@jira.search.jqlquery(jql_query, return_fields, maxresults)
Search by issue key
@jira.search.issue "JRA-9"
Get filter issues
@jira.search.filter "12843"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request