'Import an issue into the repository.
See also: https://gist.github.com/jonmagic/5282384165e0f86ef105
:param string title: (required) Title of issue
:param string body: (required) Body of issue
:param timestamp created_at: (required) Creation timestamp
:param string assignee: (optional) Username to assign issue to
:param int milestone: (optional) Milestone ID
:param boolean closed: (optional) Status of issue is Closed if True
:param list labels: (optional) List of labels containing string names
:param list comments: (optional) List of dictionaries which contain
created_at and body attributes
:returns: :class:`ImportedIssue <github3.repos.
issue_import.ImportedIssue>`'

@requires_auth
def import_issue(self, title, body, created_at, assignee=None, milestone=None, closed=None, labels=None, comments=None):

    issue = {u'issue': {u'title': title, u'body': body, u'created_at': created_at, u'assignee': assignee, u'milestone': milestone, u'closed': closed, u'labels': labels}, u'comments': comments}
    self._remove_none(issue)
    self._remove_none(issue[u'issue'])
    url = self._build_url(u'import/issues', base_url=self._api)
    data = self._post(url, data=issue, headers=ImportedIssue.IMPORT_CUSTOM_HEADERS)
    json = self._json(data, 200)
    return self._instance_or_null(ImportedIssue, json)
