Module: JiraClient::API::Comments
Instance Method Summary collapse
Instance Method Details
#comment_on_issue(key, message) ⇒ Object
13 14 15 |
# File 'lib/jira_client/api/comments.rb', line 13 def comment_on_issue(key, ) object_from_response(JiraClient::Comment, :post, "/issue/#{key}/comment", {:body => }) end |
#find_issue_comments(key) ⇒ Object
8 9 10 11 |
# File 'lib/jira_client/api/comments.rb', line 8 def find_issue_comments(key) response = get("/issue/#{key}/comment") response[:comments].map {|c| JiraClient::Comment.from_response c} end |