Project

jira-rest

0.0
No release in over 3 years
Low commit activity in last 3 years
jira-rest is a ruby lib to interact with JIRA
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 1.3
~> 10.1
~> 0.8

Runtime

~> 0.11
 Project Readme

jira-rest

Gem Version Build Status Code Climate Dependency Status Coverage Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request