code: def report_issue(self, body=None, title=None, open_webpage=False):
          
          if body is None:
              from spyder.widgets.reporterror import SpyderErrorDialog
              report_dlg = SpyderErrorDialog(self, is_report=True)
              report_dlg.show()
          else:
              if open_webpage:
                  if PY3:
                      from urllib.parse import quote
                  else:
                      from urllib import quote     # analysis:ignore
                  from qtpy.QtCore import QUrlQuery
  
                  url = QUrl(__project_url__ + '/issues/new')
                  query = QUrlQuery()
                  query.addQueryItem("body", quote(body))
                  if title:
                      query.addQueryItem("title", quote(title))
                  url.setQuery(query)
                  QDesktopServices.openUrl(url)
docs: Report a Spyder issue to github, generating body text if needed.