class AssistedWorkflow::Addons::JiraStory

adapter class to map jira issue attributes for the required interface

Public Class Methods

new(issue) click to toggle source
Calls superclass method
# File lib/assisted_workflow/addons/jira.rb, line 11
def initialize(issue)
  super
  @issue = issue
end

Public Instance Methods

current_state() click to toggle source
# File lib/assisted_workflow/addons/jira.rb, line 24
def current_state
  @issue.fields.current["status"]["name"]
end
estimate() click to toggle source
# File lib/assisted_workflow/addons/jira.rb, line 32
def estimate
  @issue.fields.current["priority"]["name"]
end
id() click to toggle source
# File lib/assisted_workflow/addons/jira.rb, line 16
def id
  @issue.jira_key
end
name() click to toggle source
# File lib/assisted_workflow/addons/jira.rb, line 20
def name
  @issue.summary
end
owners_str() click to toggle source
# File lib/assisted_workflow/addons/jira.rb, line 28
def owners_str
  @issue.fields.current["assignee"]["name"]
end