class_docstr: JiraOutput handles all alert dispatching for Jira
class_docstr_tok: ["JiraOutput","handles","all","alert","dispatching","for","Jira"]
docstr: Get all comments for an existing Jira issue
  
  Args:
      issue_id (str): The existing issue ID or key
  
  Returns:
      list: List of comments associated with a Jira issue
docstr_tok: ["Get","all","comments","for","an","existing","Jira","issue","Args",":","issue_id","(","str",")",":","The","existing","issue","ID","or","key","Returns",":","list",":","List","of","comments","associated","with","a","Jira","issue"]
code: def _get_comments(self, issue_id):
      """Get all comments for an existing Jira issue
  
      Args:
          issue_id (str): The existing issue ID or key
  
      Returns:
          list: List of comments associated with a Jira issue
      """
      comment_url = os.path.join(
          self._base_url, self.COMMENT_ENDPOINT.format(issue_id)
      )
      try:
          resp = self._get_request_retry(
              comment_url, headers=self._get_headers(), verify=False
          )
      except OutputRequestFailure:
          return []
  
      response = resp.json()
      if not response:
          return []
  
      return response.get("comments", [])
  
file_path: streamalert/streamalert/alert_processor/outputs/jira_v2.py
imports: from collections import OrderedDict
  import os
  import json
  import base64
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, OutputRequestFailure, StreamAlertOutput
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 8 for calling the JiraOutput obj's underlying member method code with example usage: obj._get_comments(issue_id) and returns: response, list, list