From e35bf6aa4bf0b7db721a1ffadee6aa0d7a252d91 Mon Sep 17 00:00:00 2001 From: Andy Walsh <33293922+rhawalsh@users.noreply.github.com> Date: Tue, 30 Jul 2019 11:17:01 -0400 Subject: [PATCH] Updated API URI to capture all issues Added the necessary parameters to capture all issues for a project, as the Github API by default will only provide open issues. According to the docs [0], the default state filter is "open". [0] https://developer.github.com/v3/issues/#list-issues --- src/report-generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report-generator.js b/src/report-generator.js index ea615a7..5bc3d58 100644 --- a/src/report-generator.js +++ b/src/report-generator.js @@ -26,7 +26,7 @@ module.exports = { generate: function (config) { var options = { - uri: 'https://api.github.com/repos/' + config.owner + '/' + config.repo + '/issues', + uri: 'https://api.github.com/repos/' + config.owner + '/' + config.repo + '/issues?state=all', headers: { 'User-Agent': 'github-issue-reports' }