Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »


1.Issue Migration
2.Related Comment Migration
3.Related Attachment Migration
4.Related Assignee Migration

Available API : https://developer.github.com/v3/issues/

Alternative API : https://developer.github.com/v4/
API Explorer : https://developer.github.com/v4/explorer/
Sample code to get first 100 issues and first 100 comments of
those issues
Example query to get first 100 issue and their first 100 comments.

query first100Issues {
  repository(owner: "cinvento", name: "codingground") {
    issues(first:100) {
      edges {
        node {
          title
          url
          body
          assignees(first:1) {
            edges {
              node {
                id
              }
            }
          }
          comments(first: 100) {
            edges {
              node {
               body
              }
            }
          }
          labels(first:100) {
            edges {
              node {
                name
              }
            }
          }
        }
      }
    }
  }
}

Option available to export all the data in github including issues and attachments
https://github.blog/2018-12-19-download-your-data/

  • No labels