Class: Stove::Plugin::JIRA

Inherits:
Base
  • Object
show all
Defined in:
lib/stove/plugins/jira.rb

Instance Attribute Summary

Attributes inherited from Base

#cookbook, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize, onload

Methods included from Mixin::Filterable

#after, #before

Methods included from Mixin::Optionable

extended, included

Methods included from Mixin::Validatable

#validate

Constructor Details

This class inherits a constructor from Stove::Plugin::Base

Instance Method Details

#unreleased_issuesArray<Hash>

The list of unreleased tickets on JIRA.

Returns:

  • (Array<Hash>)


63
64
65
66
67
68
69
70
# File 'lib/stove/plugins/jira.rb', line 63

def unreleased_issues
  @unreleased_issues ||= JIRA.search(
    project:    'COOK',
    resolution: 'Fixed',
    status:     'Fix Committed',
    component:  cookbook.name,
  )['issues']
end