JiraReporting

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

    gem 'jira_reporting'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install jira_reporting

Additional Usage

If the right fields are created within Jira, this gem can be used to set and track Jira issue SLA due times, SLA overdue statuses, and SLA warnings for issues that are almost due.

TODO - add walkthrough for the above

A cron job can be made for the bin/sla_warning script to be run in order to achieve this. On an OSX laptop with rbenv managing ruby versions, the crontab job looks like this:

   */5 * * * * bash -lc "cd /Users/gabo/Documents/code/on_production/jira_reporting && bin/sla_warning" 

The environment setup for the bin/sla_warning script to run as a crontab job on Ubuntu using RVM looks like this:

    #sm start rvm
    PATH="/home/gabo/.rvm/gems/ruby-2.3.0/bin:/home/gabo/.rvm/gems/ruby-2.3.0@global/bin:/usr/share/rvm/rubies/ru$
    GEM_HOME='/home/gabo/.rvm/gems/ruby-2.3.0'
    GEM_PATH='/home/gabo/.rvm/gems/ruby-2.3.0:/home/gabo/.rvm/gems/ruby-2.3.0@global'
    MY_RUBY_HOME='/usr/share/rvm/rubies/ruby-2.3.0'
    IRBRC='/usr/share/rvm/rubies/ruby-2.3.0/.irbrc'
    RUBY_VERSION='ruby-2.3.0'

    */5 * * * * ~/Documents/code/on_production/jira_reporting/bin/sla_warning

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( http://github.com//jira_reporting/fork )
  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