You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the raw JSON doesn't contain anything related to the repository. I'd recommend parsing the HtmlUrl property on the issue (you could look at everything before /issues in the URL).
For each of these issues I want the comments on them.
There's a comments_url property on the raw JSON which we're not surfacing. We should do that.
Alternatively, you could just go and fetch it directly:
var issues = await GitHub.Issue.GetAllForCurrent();
foreach (var issue in issues)
{
var comments = await GitHub.Issue.Comment. GetAllForIssue("owner", "repo", issue.Id);
}
I would like to the get the Repo the issue belongs to get the comments. How do I get Repo the issue belongs to?
Here is an example of my code which gets all the Issue for the user
For each of these issues I want the comments on them.
Thanks
The text was updated successfully, but these errors were encountered: