Class: JiraClient::Issue
Instance Attribute Summary collapse
-
#assignee ⇒ Object
readonly
Returns the value of attribute assignee.
-
#comment ⇒ Object
(also: #comments)
readonly
Returns the value of attribute comment.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#issuetype ⇒ Object
readonly
Returns the value of attribute issuetype.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#subtasks ⇒ Object
readonly
Returns the value of attribute subtasks.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#timetracking ⇒ Object
readonly
Returns the value of attribute timetracking.
-
#worklog ⇒ Object
readonly
Returns the value of attribute worklog.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
attr_reader, conversions, convert, #initialize
Constructor Details
This class inherits a constructor from JiraClient::Base
Instance Attribute Details
#assignee ⇒ Object (readonly)
Returns the value of attribute assignee.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def assignee @assignee end |
#comment ⇒ Object (readonly) Also known as: comments
Returns the value of attribute comment.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def comment @comment end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def description @description end |
#issuetype ⇒ Object (readonly)
Returns the value of attribute issuetype.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def issuetype @issuetype end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def key @key end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def project @project end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def status @status end |
#subtasks ⇒ Object (readonly)
Returns the value of attribute subtasks.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def subtasks @subtasks end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def summary @summary end |
#timetracking ⇒ Object (readonly)
Returns the value of attribute timetracking.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def timetracking @timetracking end |
#worklog ⇒ Object (readonly)
Returns the value of attribute worklog.
9 10 11 |
# File 'lib/jira_client/issue.rb', line 9 def worklog @worklog end |
Class Method Details
.from_response(params) ⇒ Object
25 26 27 28 29 |
# File 'lib/jira_client/issue.rb', line 25 def from_response(params) # Make values nested in the :fields key top-level values params.merge!(params[:fields]).delete :fields if params.has_key? :fields super(params) end |
Instance Method Details
#to_s ⇒ Object
33 34 35 |
# File 'lib/jira_client/issue.rb', line 33 def to_s "#{key} #{summary}" end |