code: def _get_issue(self):
      if self.title.startswith("MINOR:"):
          return None
  
      m = self.GITHUB_PR_TITLE_PATTERN.search(self.title)
      if m:
          github_id = m.group(1)
          return GitHubIssue(self._github_api, github_id, self.cmd)
  
      m = self.JIRA_UNSUPPORTED_ARROW.search(self.title)
      if m:
          old_jira_id = m.group(1)
          jira_issue = JiraIssue(
              self.con, old_jira_id, "ARROW", self.cmd
          )
          self.cmd.fail(
              "PR titles with ARROW- prefixed tickets on JIRA "
              "are unsupported, update the PR title from "
              f"{old_jira_id}. Possible GitHub id could be: "
              f"{jira_issue.github_issue_id()}"
          )
  
      for project, regex in self.JIRA_PR_TITLE_REGEXEN:
          m = regex.search(self.title)
          if m:
              jira_id = m.group(1)
              return JiraIssue(self.con, jira_id, project, self.cmd)
  
      options = " or ".join(
          "{0}-XXX".format(project)
          for project in self.JIRA_SUPPORTED_PROJECTS + ["GH"]
      )
      self.cmd.fail(
          "PR title should be prefixed by a GitHub ID or a "
          "Jira ID, like: {0}, but found {1}".format(
              options, self.title
          )
      )
  
imports: import configparser
  import os
  import pprint
  import re
  import subprocess
  import sys
  import requests
  import getpass
  from six.moves import input
  import six
label_desc: Use image node_id 6 for calling the PullRequest obj's underlying member method code with example usage: obj._get_issue() and returns: None, GitHubIssue, JiraIssue