docs: def get_issue(issue_number, repo_name=None, profile='github', output='min'):
      '''
      Return information about a single issue in a named repository.
  
      .. versionadded:: 2016.11.0
  
      issue_number
          The number of the issue to retrieve.
  
      repo_name
          The name of the repository from which to get the issue. This argument is
          required, either passed via the CLI, or defined in the configured
          profile. A ``repo_name`` passed as a CLI argument will override the
          repo_name defined in the configured profile, if provided.
  
      profile
          The name of the profile configuration to use. Defaults to ``github``.
  
      output
          The amount of data returned by each issue. Defaults to ``min``. Change
          to ``full`` to see all issue output.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion github.get_issue 514
          salt myminion github.get_issue 514 repo_name=salt
      '''
      org_name = _get_config_value(profile, 'org_name')
      if repo_name is None:
          repo_name = _get_config_value(profile, 'repo_name')
  
      action = '/'.join(['repos', org_name, repo_name])
      command = 'issues/' + six.text_type(issue_number)
  
      ret = {}
      issue_data = _query(profile, action=action, command=command)
  
      issue_id = issue_data.get('id')
      if output == 'full':
          ret[issue_id] = issue_data
      else:
          ret[issue_id] = _format_issue(issue_data)
  
      return ret