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

Get issue and issue comments in one request #1148

Closed
norinux opened this issue Sep 14, 2019 · 2 comments
Closed

Get issue and issue comments in one request #1148

norinux opened this issue Sep 14, 2019 · 2 comments

Comments

@norinux
Copy link

norinux commented Sep 14, 2019

I want to get issue comments in issue lists.
Usecase is backup of repository data.

Becouse , list_issues method is not include issue comments.
So , It requires a lot of work to get of issue_comments.

feature request

add include comments option in list_issues method.
or. add new method list_issues_with_comments.

@tarebyte
Copy link
Member

@norinux this isn't really a limitation with the Octokit client so much as a limitation with the REST API.

If you want to list issues with their comments I would recommend looking at GraphQL AP. In GraphQL you can list a repositories issues and then get a set of comments.

@norinux
Copy link
Author

norinux commented Sep 17, 2019

@tarebyte
I see , I'll try to GraphQL API .
Thank you for your comment !

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

2 participants