8

My requirement is to migrate issues from Redmine to GitHub issue tracker. I exported Redmine issues to a csv file. Using GitHub issue api I am able to create issues in github along with labels.

But I also need to attach file while creating issue, using GitHub REST apis. Is it possible to attach files while creating issue in github via API?

If anybody knows the solution for this please let me know.

yogeshagr
  • 819
  • 2
  • 11
  • 20

1 Answers1

6

No, it's not possible to attach files to issues via the GitHub API.

Ivan Zuzak
  • 18,068
  • 3
  • 69
  • 61
  • Sir, is there any other solution for this. I have around 2000 issues in redmine and each issue has one file attached to it. It will require lot of manual effort. Please suggest if we can do it by some other way. – yogeshagr Dec 18 '15 at 05:22
  • 1
    No, the GitHub API just doesn't support this currently. – Ivan Zuzak Dec 18 '15 at 06:40
  • 1
    @ayogi You probably can hack it using PhantomJS and simulating the user behavior on the page, but not using the API. – Ionică Bizău Dec 19 '15 at 18:11
  • Thanks for the information. But can you provide more detail description about this. – yogeshagr Dec 21 '15 at 19:22