class_docstr: JiraOutput handles all alert dispatching for Jira
class_docstr_tok: ["JiraOutput","handles","all","alert","dispatching","for","Jira"]
docstr: Add a comment to an existing issue
  
  Args:
      issue_id (str): The existing issue ID or key
      comment (str): The body of the comment
  
  Returns:
      int: ID of the created comment or False if unsuccessful
docstr_tok: ["Add","a","comment","to","an","existing","issue","Args",":","issue_id","(","str",")",":","The","existing","issue","ID","or","key","comment","(","str",")",":","The","body","of","the","comment","Returns",":","int",":","ID","of","the","created","comment","or","False","if","unsuccessful"]
code: def _create_comment(self, issue_id, comment):
      """Add a comment to an existing issue
  
      Args:
          issue_id (str): The existing issue ID or key
          comment (str): The body of the comment
  
      Returns:
          int: ID of the created comment or False if unsuccessful
      """
      comment_url = os.path.join(
          self._base_url, self.COMMENT_ENDPOINT.format(issue_id)
      )
      try:
          resp = self._post_request_retry(
              comment_url,
              data={"body": comment},
              headers=self._get_headers(),
              verify=False,
          )
      except OutputRequestFailure:
          return False
  
      response = resp.json()
      if not response:
          return False
  
      return response.get("id", False)
  
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 7 for calling the JiraOutput obj's underlying member method code with example usage: obj._create_comment(issue_id, comment) and returns: response, False, False