Get a specific comment of an issue.
        :param issue_id: the id of the issue
        :param comment_id: the id of the comment
        :return:
519461
def get_list_comment(self, issue_id, comment_id):
        
        request_url = "{}issue/{}/comment/{}".format(self.create_basic_url(),
                                                     issue_id, comment_id)

        return_value = self._call_api(request_url)

        return return_value
914710
def get_discussion_post(discussion_id, post_id, params = nil)
      raise Error, "Discussion ID is required" unless discussion_id.is_a? Numeric
      raise Error, "Discussion Post ID is required" unless post_id.is_a? Numeric
      get("/#{workroom_check(params)}discussions/#{discussion_id}/discussion_posts/#{post_id}.json")
    end
446428
def query_get_comment(comID):
    
    query1 = """SELECT id,
                       id_bibrec,
                       id_user,
                       body,
                       """ + \
        datetime_format('date_creation') + ', ' \
        """
                       star_score,
                       nb_votes_yes,
                       nb_votes_total,
                       title,
                       nb_abuse_reports,
                       round_name,
                       restriction
                FROM "cmtRECORDCOMMENT"
                WHERE id=%s"""
    params1 = (comID,)
    res1 = run_sql(query1, params1)
    if len(res1) > 0:
        return res1[0]
    else:
        return ()
772134
def fetchPollOptions(self, poll_id):
        
        data = {"question_id": poll_id}
        j = self._post(
            self.req_url.GET_POLL_OPTIONS, data, fix_request=True, as_json=True
        )
        return [PollOption._from_graphql(m) for m in j["payload"]]
1280954
public List<Comment> getComment(int id) {
        ClientResource resource = new ClientResource(Route.GET_COMMENT.url(id));
        try {
            String result = resource.get().getText();
            return mapper.readValue(result, new TypeReference<List<Comment>>() {});
        } catch (IOException ex) {
            LEX4JLogger.log(Level.WARNING, "Could not retrieve lot comments correctly!");
            return null;
        }
    }
702994
def get_issue_link_type(self, issue_link_type_id):
        
        url = 'rest/api/2/issueLinkType/{issueLinkTypeId}'.format(issueLinkTypeId=issue_link_type_id)
        return self.get(url)
599537
def get_comment(self, id):
        """"""
        url = self._base_url + "/3/comment/{0}".format(id)
        json = self._send_request(url)
        return Comment(json, self)
1089747
def attach_issue(context, id, url):
    

    result = job.attach_issue(context, id=id, url=url)
    utils.format_output(result, context.format)
418214
def build_from_issue_comment(gh_token, body):
    
    if body["action"] in ["created", "edited"]:
        github_con = Github(gh_token)
        repo = github_con.get_repo(body['repository']['full_name'])
        issue = repo.get_issue(body['issue']['number'])
        text = body['comment']['body']
        try:
            comment = issue.get_comment(body['comment']['id'])
        except UnknownObjectException:
            # If the comment has already disapeared, skip the command
            return None
        return WebhookMetadata(repo, issue, text, comment)
    return None
1313266
public function getCommentsForPost($post_id)
    {
        $this->checkId($post_id);

        return $this->adapter->get(sprintf('/comments/%d', $post_id));
    }
777615
def get_votes_comment(self, *args, **kwargs):
        
        return bind_api(
            api=self,
            path='/comments/{commentId}/votes',
            payload_type='vote',
            payload_list=True,
            allowed_param=['commentId']
        )(*args, **kwargs)
1288543
def delete_issue_link(self, id):
        
        url = self._get_url('issueLink') + "/" + id
        return self._session.delete(url)
935174
def delete_comment(self, resource_id, ent_id):
        
        self.requester.post(
            '/{endpoint}/{entity}/{id}/delete_comment?id={ent_id}',
            endpoint=self.endpoint, entity=self.entity,
            id=resource_id, ent_id=ent_id
        )
359732
public function getComment($comment_id)
    {
        list($response, $statusCode, $httpHeader) = $this->getCommentWithHttpInfo ($comment_id);
        return $response; 
    }
885908
def get_statement(self, statement_id):
        
        if statement_id in self.idx:
            return Cstatement(self.idx[statement_id], self.type)
        else:
            return None
230499
def get_customer_request_status(self, issue_id_or_key):
        
        request = self.get('rest/servicedeskapi/request/{}/status'.format(issue_id_or_key)).get('values')
        status = request[0].get('status')

        return status
874716
def add_issue_type(self, name, **attrs):
        
        return IssueTypes(self.requester).create(self.id, name, **attrs)