0.0
No commit activity in last 3 years
No release in over 3 years
Jira Issues gem that supports quering and filtering data for external reporting and integrations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3
~> 3.7

Runtime

~> 1.4
>= 0
 Project Readme

jira issues

Gem Version Build Status Coverage Status codecov License: MIT

description

Gem that allows you to navigate throu jour JIRA projects easily, get stats and in future to transit and manage tickets.

Results of JIRA JQL are stripped to selected fields for more user friendly exposure.

Getting Started

First you can istall latest released version of gem from rubygems.org.

gem install jira-issues

Than you need to set up your environment variables to access your JIRA repository. Please keep in mind that gem will have all and only access to issues and project that reflects access of selected account.

  • ENV['JIRA_URL']
  • ENV['JIRA_USERNAME']
  • ENV['JIRA_PASSWORD']

Running JQL Query

require 'jira_issues'
q = JiraIssues::JiraQuery.new
issues = q.jql_query 'project = "Project Name" and ( created > -40d )'

Filtering issues

issues_navigator.open.issues -- open issues
issues_navigator.closed.issues -- closed issues

Stats

issues_navigator.created_by_week
issues_navigator.closed_by_week

JQL Library

To remove need to write your query over and over again we will provide some queries in separate class.

q = JiraIssues::JiraQuery.new
issues_navigator = jq.jql_query JiraIssues::JqlLib.my_issues
issues_navigator.open.issues -- my open issues