Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support private repositories #6

Open
thSoft opened this issue Jul 25, 2018 · 0 comments
Open

Support private repositories #6

thSoft opened this issue Jul 25, 2018 · 0 comments

Comments

@thSoft
Copy link
Contributor

thSoft commented Jul 25, 2018

If I specify a private repo, importing fails with the following error:

Traceback (most recent call last):
  File "main.py", line 44, in <module>
    importer.import_issues()
  File "/Users/thsoft/Development/jira-issues-importer/importer.py", line 101, in import_issues
    self.import_issue_with_comments(issue, comments)
  File "/Users/thsoft/Development/jira-issues-importer/importer.py", line 119, in import_issue_with_comments
    response = self.upload_github_issue(issue, comments, headers)
  File "/Users/thsoft/Development/jira-issues-importer/importer.py", line 144, in upload_github_issue
    .format(issue['title'], response.status_code, response.json())
RuntimeError: Failed to POST issue: '...' due to unexpected HTTP status code: 404
errors:
{u'documentation_url': u'https://gist.github.com/jonmagic/5282384165e0f86ef105#start-an-issue-import', u'message': u'Not Found'}

It would be great if private repositories were also supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant