[
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/438",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/438/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/438/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/438/events",
    "html_url": "https://github.com/hub4j/github-api/pull/438",
    "id": 327753768,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTkxNDcwNDkz",
    "number": 438,
    "title": "- added overloaded 'uploadAsset' method",
    "user": {
      "login": "jgangemi",
      "id": 1831839,
      "node_id": "MDQ6VXNlcjE4MzE4Mzk=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1831839?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jgangemi",
      "html_url": "https://github.com/jgangemi",
      "followers_url": "https://api.github.com/users/jgangemi/followers",
      "following_url": "https://api.github.com/users/jgangemi/following{/other_user}",
      "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions",
      "organizations_url": "https://api.github.com/users/jgangemi/orgs",
      "repos_url": "https://api.github.com/users/jgangemi/repos",
      "events_url": "https://api.github.com/users/jgangemi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jgangemi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-05-30T14:21:18Z",
    "updated_at": "2018-08-30T03:18:52Z",
    "closed_at": "2018-08-30T03:18:52Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/438",
      "html_url": "https://github.com/hub4j/github-api/pull/438",
      "diff_url": "https://github.com/hub4j/github-api/pull/438.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/438.patch"
    },
    "body": "resolves #434 "
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/437",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/437/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/437/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/437/events",
    "html_url": "https://github.com/hub4j/github-api/pull/437",
    "id": 327475726,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTkxMjYxMzM5",
    "number": 437,
    "title": "[feature] implement Repository Invitations API",
    "user": {
      "login": "Rechi",
      "id": 5367567,
      "node_id": "MDQ6VXNlcjUzNjc1Njc=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/5367567?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Rechi",
      "html_url": "https://github.com/Rechi",
      "followers_url": "https://api.github.com/users/Rechi/followers",
      "following_url": "https://api.github.com/users/Rechi/following{/other_user}",
      "gists_url": "https://api.github.com/users/Rechi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Rechi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Rechi/subscriptions",
      "organizations_url": "https://api.github.com/users/Rechi/orgs",
      "repos_url": "https://api.github.com/users/Rechi/repos",
      "events_url": "https://api.github.com/users/Rechi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Rechi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-05-29T20:30:17Z",
    "updated_at": "2018-08-30T06:19:16Z",
    "closed_at": "2018-08-30T03:19:28Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/437",
      "html_url": "https://github.com/hub4j/github-api/pull/437",
      "diff_url": "https://github.com/hub4j/github-api/pull/437.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/437.patch"
    },
    "body": "fixes #374"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/436",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/436/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/436/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/436/events",
    "html_url": "https://github.com/hub4j/github-api/pull/436",
    "id": 327134134,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTkxMDA4Mzcy",
    "number": 436,
    "title": "- remove unthrown IOException",
    "user": {
      "login": "jgangemi",
      "id": 1831839,
      "node_id": "MDQ6VXNlcjE4MzE4Mzk=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1831839?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jgangemi",
      "html_url": "https://github.com/jgangemi",
      "followers_url": "https://api.github.com/users/jgangemi/followers",
      "following_url": "https://api.github.com/users/jgangemi/following{/other_user}",
      "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions",
      "organizations_url": "https://api.github.com/users/jgangemi/orgs",
      "repos_url": "https://api.github.com/users/jgangemi/repos",
      "events_url": "https://api.github.com/users/jgangemi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jgangemi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-05-28T23:50:48Z",
    "updated_at": "2018-08-30T03:16:29Z",
    "closed_at": "2018-08-30T03:16:29Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/436",
      "html_url": "https://github.com/hub4j/github-api/pull/436",
      "diff_url": "https://github.com/hub4j/github-api/pull/436.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/436.patch"
    },
    "body": "the corresponding method in the `GitHub` class does not throw this."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/435",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/435/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/435/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/435/events",
    "html_url": "https://github.com/hub4j/github-api/pull/435",
    "id": 326853173,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTkwODA3OTky",
    "number": 435,
    "title": "- branch protection enhancements",
    "user": {
      "login": "jgangemi",
      "id": 1831839,
      "node_id": "MDQ6VXNlcjE4MzE4Mzk=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1831839?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jgangemi",
      "html_url": "https://github.com/jgangemi",
      "followers_url": "https://api.github.com/users/jgangemi/followers",
      "following_url": "https://api.github.com/users/jgangemi/following{/other_user}",
      "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions",
      "organizations_url": "https://api.github.com/users/jgangemi/orgs",
      "repos_url": "https://api.github.com/users/jgangemi/repos",
      "events_url": "https://api.github.com/users/jgangemi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jgangemi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-05-27T21:35:13Z",
    "updated_at": "2018-08-30T03:16:03Z",
    "closed_at": "2018-08-30T03:16:03Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/435",
      "html_url": "https://github.com/hub4j/github-api/pull/435",
      "diff_url": "https://github.com/hub4j/github-api/pull/435.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/435.patch"
    },
    "body": "- add support for signed commits\r\n- add support for required number of reviews"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/434",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/434/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/434/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/434/events",
    "html_url": "https://github.com/hub4j/github-api/issues/434",
    "id": 326823160,
    "node_id": "MDU6SXNzdWUzMjY4MjMxNjA=",
    "number": 434,
    "title": "GHRelease.uploadAsset() that takes InputStream instead of File",
    "user": {
      "login": "gabrielittner",
      "id": 1358105,
      "node_id": "MDQ6VXNlcjEzNTgxMDU=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1358105?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/gabrielittner",
      "html_url": "https://github.com/gabrielittner",
      "followers_url": "https://api.github.com/users/gabrielittner/followers",
      "following_url": "https://api.github.com/users/gabrielittner/following{/other_user}",
      "gists_url": "https://api.github.com/users/gabrielittner/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/gabrielittner/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/gabrielittner/subscriptions",
      "organizations_url": "https://api.github.com/users/gabrielittner/orgs",
      "repos_url": "https://api.github.com/users/gabrielittner/repos",
      "events_url": "https://api.github.com/users/gabrielittner/events{/privacy}",
      "received_events_url": "https://api.github.com/users/gabrielittner/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-05-27T14:59:36Z",
    "updated_at": "2018-08-30T03:18:52Z",
    "closed_at": "2018-08-30T03:18:52Z",
    "author_association": "NONE",
    "body": "It would be great if you could offer a `GHRelease.uploadAsset(InputStream, String)` overload. I've got something that is already in memory and in my environment it's not easy to create files. That overload would allow me to simply pass in a `ByteArrayInputStream`."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/433",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/433/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/433/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/433/events",
    "html_url": "https://github.com/hub4j/github-api/issues/433",
    "id": 323895407,
    "node_id": "MDU6SXNzdWUzMjM4OTU0MDc=",
    "number": 433,
    "title": "GHRepository.listCommits() returns java.net.SocketTimeoutException: Read timed out",
    "user": {
      "login": "Zhang-Nick",
      "id": 7865449,
      "node_id": "MDQ6VXNlcjc4NjU0NDk=",
      "avatar_url": "https://avatars2.githubusercontent.com/u/7865449?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Zhang-Nick",
      "html_url": "https://github.com/Zhang-Nick",
      "followers_url": "https://api.github.com/users/Zhang-Nick/followers",
      "following_url": "https://api.github.com/users/Zhang-Nick/following{/other_user}",
      "gists_url": "https://api.github.com/users/Zhang-Nick/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Zhang-Nick/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Zhang-Nick/subscriptions",
      "organizations_url": "https://api.github.com/users/Zhang-Nick/orgs",
      "repos_url": "https://api.github.com/users/Zhang-Nick/repos",
      "events_url": "https://api.github.com/users/Zhang-Nick/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Zhang-Nick/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-05-17T07:00:56Z",
    "updated_at": "2018-08-30T14:59:04Z",
    "closed_at": "2018-08-30T14:59:04Z",
    "author_association": "NONE",
    "body": "timed out accessing https://api.github.com/repositories/455600/commits?page=196; will try 2 more time(s)\r\n\r\nWhen I used the GHRepository.listCommits() to get all the commits from repo \" facebook/hhvm\",it returns me timed out"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/432",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/432/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/432/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/432/events",
    "html_url": "https://github.com/hub4j/github-api/pull/432",
    "id": 319812606,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTg1NjM0NzE0",
    "number": 432,
    "title": "add minimal GitHub app support",
    "user": {
      "login": "sns-seb",
      "id": 11717580,
      "node_id": "MDQ6VXNlcjExNzE3NTgw",
      "avatar_url": "https://avatars2.githubusercontent.com/u/11717580?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/sns-seb",
      "html_url": "https://github.com/sns-seb",
      "followers_url": "https://api.github.com/users/sns-seb/followers",
      "following_url": "https://api.github.com/users/sns-seb/following{/other_user}",
      "gists_url": "https://api.github.com/users/sns-seb/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/sns-seb/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/sns-seb/subscriptions",
      "organizations_url": "https://api.github.com/users/sns-seb/orgs",
      "repos_url": "https://api.github.com/users/sns-seb/repos",
      "events_url": "https://api.github.com/users/sns-seb/events{/privacy}",
      "received_events_url": "https://api.github.com/users/sns-seb/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-05-03T07:26:36Z",
    "updated_at": "2018-05-03T07:26:58Z",
    "closed_at": "2018-05-03T07:26:58Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/432",
      "html_url": "https://github.com/hub4j/github-api/pull/432",
      "diff_url": "https://github.com/hub4j/github-api/pull/432.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/432.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/431",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/431/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/431/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/431/events",
    "html_url": "https://github.com/hub4j/github-api/pull/431",
    "id": 311892810,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTc5ODg2MjIz",
    "number": 431,
    "title": "[fix] fetch labels with HTTP GET method",
    "user": {
      "login": "Rechi",
      "id": 5367567,
      "node_id": "MDQ6VXNlcjUzNjc1Njc=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/5367567?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Rechi",
      "html_url": "https://github.com/Rechi",
      "followers_url": "https://api.github.com/users/Rechi/followers",
      "following_url": "https://api.github.com/users/Rechi/following{/other_user}",
      "gists_url": "https://api.github.com/users/Rechi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Rechi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Rechi/subscriptions",
      "organizations_url": "https://api.github.com/users/Rechi/orgs",
      "repos_url": "https://api.github.com/users/Rechi/repos",
      "events_url": "https://api.github.com/users/Rechi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Rechi/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-04-06T08:40:26Z",
    "updated_at": "2018-05-01T14:22:05Z",
    "closed_at": "2018-05-01T14:18:44Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/431",
      "html_url": "https://github.com/hub4j/github-api/pull/431",
      "diff_url": "https://github.com/hub4j/github-api/pull/431.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/431.patch"
    },
    "body": "Making this request (by calling `pr.getLabels()`) with POST method changed the updated date of a PR.\r\n\r\nBecause of that `sort:updated-desc` in the Pull request listing wasn't sorting in the expected order any more."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/430",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/430/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/430/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/430/events",
    "html_url": "https://github.com/hub4j/github-api/pull/430",
    "id": 309635204,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTc4MjM4MTgy",
    "number": 430,
    "title": "Added request reviewers function within GHPullRequest.",
    "user": {
      "login": "twcurrie",
      "id": 6046907,
      "node_id": "MDQ6VXNlcjYwNDY5MDc=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/6046907?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/twcurrie",
      "html_url": "https://github.com/twcurrie",
      "followers_url": "https://api.github.com/users/twcurrie/followers",
      "following_url": "https://api.github.com/users/twcurrie/following{/other_user}",
      "gists_url": "https://api.github.com/users/twcurrie/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/twcurrie/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/twcurrie/subscriptions",
      "organizations_url": "https://api.github.com/users/twcurrie/orgs",
      "repos_url": "https://api.github.com/users/twcurrie/repos",
      "events_url": "https://api.github.com/users/twcurrie/events{/privacy}",
      "received_events_url": "https://api.github.com/users/twcurrie/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 7,
    "created_at": "2018-03-29T06:33:28Z",
    "updated_at": "2018-05-01T21:35:35Z",
    "closed_at": "2018-05-01T02:58:19Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/430",
      "html_url": "https://github.com/hub4j/github-api/pull/430",
      "diff_url": "https://github.com/hub4j/github-api/pull/430.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/430.patch"
    },
    "body": "Low hanging fruit:  https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/429",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/429/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/429/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/429/events",
    "html_url": "https://github.com/hub4j/github-api/issues/429",
    "id": 309585622,
    "node_id": "MDU6SXNzdWUzMDk1ODU2MjI=",
    "number": 429,
    "title": "getLabels() call for a pull request results in 403",
    "user": {
      "login": "VirenMody",
      "id": 18245841,
      "node_id": "MDQ6VXNlcjE4MjQ1ODQx",
      "avatar_url": "https://avatars2.githubusercontent.com/u/18245841?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/VirenMody",
      "html_url": "https://github.com/VirenMody",
      "followers_url": "https://api.github.com/users/VirenMody/followers",
      "following_url": "https://api.github.com/users/VirenMody/following{/other_user}",
      "gists_url": "https://api.github.com/users/VirenMody/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/VirenMody/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/VirenMody/subscriptions",
      "organizations_url": "https://api.github.com/users/VirenMody/orgs",
      "repos_url": "https://api.github.com/users/VirenMody/repos",
      "events_url": "https://api.github.com/users/VirenMody/events{/privacy}",
      "received_events_url": "https://api.github.com/users/VirenMody/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-03-29T01:16:11Z",
    "updated_at": "2019-11-07T23:00:12Z",
    "closed_at": "2019-11-07T23:00:12Z",
    "author_association": "NONE",
    "body": "I'm a student working on a project in which we're analyzing git repositories' pull request's patch files. \r\n\r\nI was able to make the getLabels() call using a GHIssue object, but when making it from a GHPullRequest object I get a 403. (\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3/issues/#edit-an-issue\")\r\nNOTE: This was tested on a public repo, not my own.\r\n\r\nI did see [#178](https://github.com/kohsuke/github-api/issues/178), but didn't see the GHPullRequest.fetchIssue() method in the Javadocs.\r\n\r\n> GHPullRequest extends from GHIssue, so the design here is to call GHPullRequest.fetchIssue() at the right point to ensure methods defined on GHIssue return correct info when used on GHPullRequest instance, such as getLabels() do.\r\n\r\n\r\n**Why does the getLabels() call work for a GHIssue object but not for a GHPullRequest object?**\r\n\r\nHere's my code\r\n```\r\nString testRepoName = \"code4craft/webmagic\";\r\nGHRepository testRepo = null;\r\ntry {\r\n    GitHub gitHub = GitHub.connect(\"*******\", \"**********\");\r\n    testRepo = gitHub.getRepository(testRepoName);\r\n    List<GHPullRequest> pullRequestList = testRepo.getPullRequests(GHIssueState.CLOSED);\r\n    System.out.println(testRepoName + \"'s number of pull requests: \" + pullRequestList.size());\r\n    for(GHPullRequest pullRequest: pullRequestList) {\r\n        Collection<GHLabel> labelList = pullRequest.getLabels();\r\n```\r\n\r\nHere's the stacktrace:\r\n```\r\norg.kohsuke.github.HttpException: {\"message\":\"Must have admin rights to Repository.\",\"documentation_url\":\"https://developer.github.com/v3/issues/#edit-an-issue\"}\r\n\tat org.kohsuke.github.Requester.handleApiError(Requester.java:695)\r\n\tat org.kohsuke.github.Requester._to(Requester.java:298)\r\n\tat org.kohsuke.github.Requester.to(Requester.java:246)\r\n\tat org.kohsuke.github.GHPullRequest.fetchIssue(GHPullRequest.java:396)\r\n\tat org.kohsuke.github.GHPullRequest.getLabels(GHPullRequest.java:136)\r\n\tat Main.main(Main.java:48)\r\nCaused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 403, message: 'Forbidden' for URL: https://api.github.com/repos/code4craft/webmagic/issues/713\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:638)\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:599)\r\n\tat org.kohsuke.github.Requester._to(Requester.java:277)\r\n\t... 4 more\r\nCaused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.github.com/repos/code4craft/webmagic/issues/713\r\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1963)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1958)\r\n\tat java.base/java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1957)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1525)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)\r\n\tat java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:617)\r\n\t... 6 more\r\nCaused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.github.com/repos/code4craft/webmagic/issues/713\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1913)\r\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)\r\n\tat java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)\r\n\tat java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:329)\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:607)\r\n\t... 6 more\r\n```"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/428",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/428/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/428/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/428/events",
    "html_url": "https://github.com/hub4j/github-api/pull/428",
    "id": 308792893,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTc3NjExMTIx",
    "number": 428,
    "title": "Fix imports for commons-lang3.",
    "user": {
      "login": "markwoon",
      "id": 215141,
      "node_id": "MDQ6VXNlcjIxNTE0MQ==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/215141?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/markwoon",
      "html_url": "https://github.com/markwoon",
      "followers_url": "https://api.github.com/users/markwoon/followers",
      "following_url": "https://api.github.com/users/markwoon/following{/other_user}",
      "gists_url": "https://api.github.com/users/markwoon/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/markwoon/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/markwoon/subscriptions",
      "organizations_url": "https://api.github.com/users/markwoon/orgs",
      "repos_url": "https://api.github.com/users/markwoon/repos",
      "events_url": "https://api.github.com/users/markwoon/events{/privacy}",
      "received_events_url": "https://api.github.com/users/markwoon/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-03-27T01:48:07Z",
    "updated_at": "2018-05-01T14:05:09Z",
    "closed_at": "2018-05-01T14:05:08Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/428",
      "html_url": "https://github.com/hub4j/github-api/pull/428",
      "diff_url": "https://github.com/hub4j/github-api/pull/428.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/428.patch"
    },
    "body": "The last commit updated the commons-lang dependency to v3 but neglected to update the imports."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/427",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/427/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/427/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/427/events",
    "html_url": "https://github.com/hub4j/github-api/pull/427",
    "id": 307545165,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTc2NzAzOTQ5",
    "number": 427,
    "title": "Add support for previous_filename for file details in PR.",
    "user": {
      "login": "itepikin-smartling",
      "id": 26928776,
      "node_id": "MDQ6VXNlcjI2OTI4Nzc2",
      "avatar_url": "https://avatars3.githubusercontent.com/u/26928776?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/itepikin-smartling",
      "html_url": "https://github.com/itepikin-smartling",
      "followers_url": "https://api.github.com/users/itepikin-smartling/followers",
      "following_url": "https://api.github.com/users/itepikin-smartling/following{/other_user}",
      "gists_url": "https://api.github.com/users/itepikin-smartling/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/itepikin-smartling/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/itepikin-smartling/subscriptions",
      "organizations_url": "https://api.github.com/users/itepikin-smartling/orgs",
      "repos_url": "https://api.github.com/users/itepikin-smartling/repos",
      "events_url": "https://api.github.com/users/itepikin-smartling/events{/privacy}",
      "received_events_url": "https://api.github.com/users/itepikin-smartling/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-03-22T08:22:46Z",
    "updated_at": "2018-05-01T14:17:32Z",
    "closed_at": "2018-05-01T14:17:32Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/427",
      "html_url": "https://github.com/hub4j/github-api/pull/427",
      "diff_url": "https://github.com/hub4j/github-api/pull/427.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/427.patch"
    },
    "body": "In case, when PR contains file that was renamed, file details will look like this:\r\n```\r\n[\r\n  {\r\n    \"sha\": \"0000000000000000000001\",\r\n    \"filename\": \"fileName.new\",\r\n    \"status\": \"renamed\",\r\n    \"additions\": 1,\r\n    \"deletions\": 0,\r\n    \"changes\": 1,\r\n    \"blob_url\": \"https://github.com/...\",\r\n    \"raw_url\": \"https://github.com/...\",\r\n    \"contents_url\": \"https://api.github.com/repos/...\",\r\n    \"patch\": \"...\",\r\n    \"previous_filename\": \"fileName.prev\"\r\n  }\r\n]\r\n```\r\nSo, there is need to support `previous_filename` field to know the previous file name."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/426",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/426/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/426/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/426/events",
    "html_url": "https://github.com/hub4j/github-api/issues/426",
    "id": 306542319,
    "node_id": "MDU6SXNzdWUzMDY1NDIzMTk=",
    "number": 426,
    "title": "Deleting a ref does not work.",
    "user": {
      "login": "adam-arold",
      "id": 1253248,
      "node_id": "MDQ6VXNlcjEyNTMyNDg=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1253248?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/adam-arold",
      "html_url": "https://github.com/adam-arold",
      "followers_url": "https://api.github.com/users/adam-arold/followers",
      "following_url": "https://api.github.com/users/adam-arold/following{/other_user}",
      "gists_url": "https://api.github.com/users/adam-arold/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/adam-arold/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/adam-arold/subscriptions",
      "organizations_url": "https://api.github.com/users/adam-arold/orgs",
      "repos_url": "https://api.github.com/users/adam-arold/repos",
      "events_url": "https://api.github.com/users/adam-arold/events{/privacy}",
      "received_events_url": "https://api.github.com/users/adam-arold/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-03-19T16:44:17Z",
    "updated_at": "2019-11-07T22:59:30Z",
    "closed_at": "2019-11-07T22:59:30Z",
    "author_association": "NONE",
    "body": "I can query a repo for its refs:\r\n\r\n```kotlin\r\nval toDelete = repo.listRefs().asList().filter { it.ref == \"refs/heads/$version\" || it.ref == \"refs/heads/$otherVersion\" }\r\n```\r\n\r\nbut when I try to delete a ref:\r\n\r\n```kotlin\r\ntoDelete.forEach {\r\n    it.delete()\r\n}\r\n```\r\n\r\nI get a `NullPointerException` because `root` is `null` within the `GHRef` for some reason.\r\n\r\nWhat is the proper way of deleting a ref?\r\n\r\nA workaround I found is to do this:\r\n\r\n```kotlin\r\ntoDelete.forEach {\r\n    repo.getRef(it.ref.replace(\"refs/\", \"\")).delete()\r\n}\r\n```\r\n\r\nThis highlights another discrepancy: when I call `getRef` I have to remove the `refs/` part to properly fetch the ref."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/425",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/425/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/425/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/425/events",
    "html_url": "https://github.com/hub4j/github-api/issues/425",
    "id": 306149498,
    "node_id": "MDU6SXNzdWUzMDYxNDk0OTg=",
    "number": 425,
    "title": "Support for repository Projects",
    "user": {
      "login": "adam-arold",
      "id": 1253248,
      "node_id": "MDQ6VXNlcjEyNTMyNDg=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1253248?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/adam-arold",
      "html_url": "https://github.com/adam-arold",
      "followers_url": "https://api.github.com/users/adam-arold/followers",
      "following_url": "https://api.github.com/users/adam-arold/following{/other_user}",
      "gists_url": "https://api.github.com/users/adam-arold/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/adam-arold/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/adam-arold/subscriptions",
      "organizations_url": "https://api.github.com/users/adam-arold/orgs",
      "repos_url": "https://api.github.com/users/adam-arold/repos",
      "events_url": "https://api.github.com/users/adam-arold/events{/privacy}",
      "received_events_url": "https://api.github.com/users/adam-arold/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-03-17T11:35:39Z",
    "updated_at": "2019-10-11T22:45:29Z",
    "closed_at": "2019-10-11T22:45:29Z",
    "author_association": "NONE",
    "body": "I've noticed that I can't create Projects using the `GitHub` objects nor the `GHRepository` object. There is no mention in the javadoc either.\r\n\r\nIs this going to be supported in the future?"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/424",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/424/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/424/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/424/events",
    "html_url": "https://github.com/hub4j/github-api/pull/424",
    "id": 305655424,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTc1MzI5NTgz",
    "number": 424,
    "title": "Add sha1 to updateFiles ",
    "user": {
      "login": "onoguera-ob",
      "id": 9931799,
      "node_id": "MDQ6VXNlcjk5MzE3OTk=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/9931799?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/onoguera-ob",
      "html_url": "https://github.com/onoguera-ob",
      "followers_url": "https://api.github.com/users/onoguera-ob/followers",
      "following_url": "https://api.github.com/users/onoguera-ob/following{/other_user}",
      "gists_url": "https://api.github.com/users/onoguera-ob/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/onoguera-ob/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/onoguera-ob/subscriptions",
      "organizations_url": "https://api.github.com/users/onoguera-ob/orgs",
      "repos_url": "https://api.github.com/users/onoguera-ob/repos",
      "events_url": "https://api.github.com/users/onoguera-ob/events{/privacy}",
      "received_events_url": "https://api.github.com/users/onoguera-ob/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-03-15T17:46:43Z",
    "updated_at": "2018-08-30T02:07:03Z",
    "closed_at": "2018-08-30T02:07:03Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/424",
      "html_url": "https://github.com/hub4j/github-api/pull/424",
      "diff_url": "https://github.com/hub4j/github-api/pull/424.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/424.patch"
    },
    "body": "see https://developer.github.com/v3/repos/contents/#update-a-file"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/422",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/422/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/422/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/422/events",
    "html_url": "https://github.com/hub4j/github-api/pull/422",
    "id": 301800784,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTcyNTI4NjAx",
    "number": 422,
    "title": "Fixes #421 - Enum case doesn't match for Pull Request Reviews",
    "user": {
      "login": "ggrell",
      "id": 107712,
      "node_id": "MDQ6VXNlcjEwNzcxMg==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/107712?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ggrell",
      "html_url": "https://github.com/ggrell",
      "followers_url": "https://api.github.com/users/ggrell/followers",
      "following_url": "https://api.github.com/users/ggrell/following{/other_user}",
      "gists_url": "https://api.github.com/users/ggrell/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ggrell/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ggrell/subscriptions",
      "organizations_url": "https://api.github.com/users/ggrell/orgs",
      "repos_url": "https://api.github.com/users/ggrell/repos",
      "events_url": "https://api.github.com/users/ggrell/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ggrell/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-03-02T15:19:34Z",
    "updated_at": "2018-05-01T14:19:43Z",
    "closed_at": "2018-05-01T14:19:43Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/422",
      "html_url": "https://github.com/hub4j/github-api/pull/422",
      "diff_url": "https://github.com/hub4j/github-api/pull/422.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/422.patch"
    },
    "body": "Fixes issue #421 by setting Jackson to ignore case differences in enums."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/421",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/421/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/421/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/421/events",
    "html_url": "https://github.com/hub4j/github-api/issues/421",
    "id": 301607044,
    "node_id": "MDU6SXNzdWUzMDE2MDcwNDQ=",
    "number": 421,
    "title": "InvalidFormatException parsing GHEventPayload.PullRequestReview",
    "user": {
      "login": "ggrell",
      "id": 107712,
      "node_id": "MDQ6VXNlcjEwNzcxMg==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/107712?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/ggrell",
      "html_url": "https://github.com/ggrell",
      "followers_url": "https://api.github.com/users/ggrell/followers",
      "following_url": "https://api.github.com/users/ggrell/following{/other_user}",
      "gists_url": "https://api.github.com/users/ggrell/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/ggrell/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/ggrell/subscriptions",
      "organizations_url": "https://api.github.com/users/ggrell/orgs",
      "repos_url": "https://api.github.com/users/ggrell/repos",
      "events_url": "https://api.github.com/users/ggrell/events{/privacy}",
      "received_events_url": "https://api.github.com/users/ggrell/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-03-02T00:09:08Z",
    "updated_at": "2018-05-01T14:19:45Z",
    "closed_at": "2018-05-01T14:19:45Z",
    "author_association": "CONTRIBUTOR",
    "body": "I'm getting the following exception parsing a \"pull_request_review\" event on our GitHub Enterprise instance:\r\n```\r\ncom.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHPullRequestReviewState` from String \"commented\": value not one of declared Enum instance names: [CHANGES_REQUESTED, REQUEST_CHANGES, PENDING, DISMISSED, COMMENTED, APPROVED]\r\n at [Source: (StringReader); line: 28, column: 14] (through reference chain: org.kohsuke.github.GHEventPayload$PullRequestReview[\"review\"]->org.kohsuke.github.GHPullRequestReview[\"state\"])\r\ncom.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHPullRequestReviewState` from String \"commented\": value not one of declared Enum instance names: [CHANGES_REQUESTED, REQUEST_CHANGES, PENDING, DISMISSED, COMMENTED, APPROVED]\r\n at [Source: (StringReader); line: 28, column: 14] (through reference chain: org.kohsuke.github.GHEventPayload$PullRequestReview[\"review\"]->org.kohsuke.github.GHPullRequestReview[\"state\"])\r\n\tat com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:1548) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:910) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:255) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:179) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3037) ~[jackson-databind-2.9.4.jar:2.9.4]\r\n\tat org.kohsuke.github.GitHub.parseEventPayload(GitHub.java:600) ~[github-api-1.92.jar:na]\r\n```\r\nwhere the beginning of the JSON payload looks like this:\r\n```\r\n{\r\n  \"action\": \"submitted\",\r\n  \"review\": {\r\n    \"id\": 33666,\r\n    \"user\": {\r\n      \"login\": \"REMOVED\",\r\n      \"id\": 193,\r\n      \"avatar_url\": \"REMOVED\",\r\n      \"gravatar_id\": \"\",\r\n      \"url\": \"REMOVED\",\r\n      \"html_url\": \"REMOVED\",\r\n      \"followers_url\": \"REMOVED\",\r\n      \"following_url\": \"REMOVED\",\r\n      \"gists_url\": \"REMOVED\",\r\n      \"starred_url\": \"REMOVED\",\r\n      \"subscriptions_url\": \"REMOVED\",\r\n      \"organizations_url\": \"REMOVED\",\r\n      \"repos_url\": \"REMOVED\",\r\n      \"events_url\": \"REMOVED\",\r\n      \"received_events_url\": \"REMOVED\",\r\n      \"type\": \"User\",\r\n      \"site_admin\": false,\r\n      \"ldap_dn\": \"REMOVED\"\r\n    },\r\n    \"body\": \"Review test\",\r\n    \"commit_id\": \"1348693c5fefd5dc58568b75ef69c81705bfb269\",\r\n    \"submitted_at\": \"2018-03-01T23:41:54Z\",\r\n    \"state\": \"commented\",\r\n...\r\n```"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/420",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/420/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/420/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/420/events",
    "html_url": "https://github.com/hub4j/github-api/pull/420",
    "id": 300852281,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTcxODI5MjM3",
    "number": 420,
    "title": "OkHttpConnector: Enforce use of TLSv1.2 to match current Github and Github Enterprise TLS support.",
    "user": {
      "login": "randomvariable",
      "id": 1441070,
      "node_id": "MDQ6VXNlcjE0NDEwNzA=",
      "avatar_url": "https://avatars3.githubusercontent.com/u/1441070?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/randomvariable",
      "html_url": "https://github.com/randomvariable",
      "followers_url": "https://api.github.com/users/randomvariable/followers",
      "following_url": "https://api.github.com/users/randomvariable/following{/other_user}",
      "gists_url": "https://api.github.com/users/randomvariable/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/randomvariable/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/randomvariable/subscriptions",
      "organizations_url": "https://api.github.com/users/randomvariable/orgs",
      "repos_url": "https://api.github.com/users/randomvariable/repos",
      "events_url": "https://api.github.com/users/randomvariable/events{/privacy}",
      "received_events_url": "https://api.github.com/users/randomvariable/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 5,
    "created_at": "2018-02-28T01:02:48Z",
    "updated_at": "2018-03-06T17:21:51Z",
    "closed_at": "2018-03-01T17:43:25Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/420",
      "html_url": "https://github.com/hub4j/github-api/pull/420",
      "diff_url": "https://github.com/hub4j/github-api/pull/420.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/420.patch"
    },
    "body": "On Feb 8, 2018, Github changed their TLS settings to be 1.2 only.\r\nMost recent Jenkins installs are OK as Java 1.8 defaults to TLS 1.2, however some people see intermittent\r\nor continuous failures with connecting to Github in a variety of configurations:\r\n\r\ne.g. https://issues.jenkins-ci.org/browse/JENKINS-49761?jql=project%20%3D%20JENKINS%20AND%20component%20%3D%20github-api-plugin \r\n\r\nThis PR creates a new TLS v1.2 only SSLContext and attaches its socket factory to the urlFactory passed to OkHttpConnector, which is used by most Github plugins in Jenkins."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/419",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/419/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/419/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/419/events",
    "html_url": "https://github.com/hub4j/github-api/issues/419",
    "id": 299887267,
    "node_id": "MDU6SXNzdWUyOTk4ODcyNjc=",
    "number": 419,
    "title": "java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.deser.SettableBeanProperty.<init>",
    "user": {
      "login": "Karpinchyk",
      "id": 36778898,
      "node_id": "MDQ6VXNlcjM2Nzc4ODk4",
      "avatar_url": "https://avatars0.githubusercontent.com/u/36778898?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Karpinchyk",
      "html_url": "https://github.com/Karpinchyk",
      "followers_url": "https://api.github.com/users/Karpinchyk/followers",
      "following_url": "https://api.github.com/users/Karpinchyk/following{/other_user}",
      "gists_url": "https://api.github.com/users/Karpinchyk/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Karpinchyk/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Karpinchyk/subscriptions",
      "organizations_url": "https://api.github.com/users/Karpinchyk/orgs",
      "repos_url": "https://api.github.com/users/Karpinchyk/repos",
      "events_url": "https://api.github.com/users/Karpinchyk/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Karpinchyk/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 3,
    "created_at": "2018-02-24T00:00:13Z",
    "updated_at": "2019-11-08T08:31:20Z",
    "closed_at": "2018-08-30T15:00:32Z",
    "author_association": "NONE",
    "body": "I am very sorry if this issue has been already addressed somewhere. I tried to google but didn't find any references.\r\n\r\nStarting at version 1.90 of github-api a dropwizard app gives an exception when started. Previous versions of the lib (1 - 1.89) work fine.\r\n\r\nException in thread \"main\" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.deser.SettableBeanProperty.<init>(Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;Lcom/fasterxml/jackson/databind/JsonDeserializer;)V\r\n\tat com.fasterxml.jackson.module.afterburner.deser.OptimizedSettableBeanProperty.<init>(OptimizedSettableBeanProperty.java:50)\r\n\tat com.fasterxml.jackson.module.afterburner.deser.SettableObjectMethodProperty.<init>(SettableObjectMethodProperty.java:21)\r\n\tat com.fasterxml.jackson.module.afterburner.deser.SettableObjectMethodProperty.withValueDeserializer(SettableObjectMethodProperty.java:38)\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:462)\r\n\tat com.fasterxml.jackson.module.afterburner.deser.SuperSonicBeanDeserializer.resolve(SuperSonicBeanDeserializer.java:79)\r\n\tat com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:293)\r\n\tat com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)\r\n\tat com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)\r\n\tat com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:477)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:4178)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3967)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2264)\r\n\tat io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:123)\r\n\tat io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:87)\r\n\tat io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:124)\r\n\tat io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:72)\r\n\tat io.dropwizard.cli.Cli.run(Cli.java:75)\r\n..."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/418",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/418/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/418/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/418/events",
    "html_url": "https://github.com/hub4j/github-api/issues/418",
    "id": 299853104,
    "node_id": "MDU6SXNzdWUyOTk4NTMxMDQ=",
    "number": 418,
    "title": "https://api.github.com/user  response code -1",
    "user": {
      "login": "attti",
      "id": 4491248,
      "node_id": "MDQ6VXNlcjQ0OTEyNDg=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/4491248?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/attti",
      "html_url": "https://github.com/attti",
      "followers_url": "https://api.github.com/users/attti/followers",
      "following_url": "https://api.github.com/users/attti/following{/other_user}",
      "gists_url": "https://api.github.com/users/attti/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/attti/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/attti/subscriptions",
      "organizations_url": "https://api.github.com/users/attti/orgs",
      "repos_url": "https://api.github.com/users/attti/repos",
      "events_url": "https://api.github.com/users/attti/events{/privacy}",
      "received_events_url": "https://api.github.com/users/attti/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 4,
    "created_at": "2018-02-23T21:17:39Z",
    "updated_at": "2018-02-26T17:10:26Z",
    "closed_at": "2018-02-26T17:04:52Z",
    "author_association": "NONE",
    "body": "got error when our pull request builder plugin trying to connect to github.\r\nFeb 23, 2018 4:08:00 PM SEVERE org.jenkinsci.plugins.ghprb.GhprbGitHubAuth buildConnection\r\nUnable to connect using credentials: ________________________________\r\norg.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/user\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:633)\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:594)\r\n\tat org.kohsuke.github.Requester._to(Requester.java:272)\r\n\tat org.kohsuke.github.Requester.to(Requester.java:234)\r\n\tat org.kohsuke.github.GitHub.getMyself(GitHub.java:384)\r\n\tat org.kohsuke.github.GitHub.<init>(GitHub.java:158)\r\n\tat org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:207)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbGitHubAuth.buildConnection(GhprbGitHubAuth.java:195)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbGitHubAuth.getConnection(GhprbGitHubAuth.java:204)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbTrigger.getGitHub(GhprbTrigger.java:431)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:86)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:130)\r\n\tat org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:300)\r\n\tat hudson.triggers.Trigger.checkTriggers(Trigger.java:272)\r\n\tat hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)\r\n\tat hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version\r\n\tat sun.security.ssl.Alerts.getSSLException(Alerts.java:208)\r\n\tat sun.security.ssl.Alerts.getSSLException(Alerts.java:154)\r\n\tat sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)\r\n\tat sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)\r\n\tat sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)\r\n\tat sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)\r\n\tat sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)\r\n\tat sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)\r\n\tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)\r\n\tat java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)\r\n\tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)\r\n\tat org.kohsuke.github.Requester.parse(Requester.java:602)\r\n\t... 22 more\r\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/417",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/417/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/417/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/417/events",
    "html_url": "https://github.com/hub4j/github-api/pull/417",
    "id": 299444497,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTcwODE4NTUy",
    "number": 417,
    "title": "Added release payload.",
    "user": {
      "login": "twcurrie",
      "id": 6046907,
      "node_id": "MDQ6VXNlcjYwNDY5MDc=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/6046907?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/twcurrie",
      "html_url": "https://github.com/twcurrie",
      "followers_url": "https://api.github.com/users/twcurrie/followers",
      "following_url": "https://api.github.com/users/twcurrie/following{/other_user}",
      "gists_url": "https://api.github.com/users/twcurrie/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/twcurrie/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/twcurrie/subscriptions",
      "organizations_url": "https://api.github.com/users/twcurrie/orgs",
      "repos_url": "https://api.github.com/users/twcurrie/repos",
      "events_url": "https://api.github.com/users/twcurrie/events{/privacy}",
      "received_events_url": "https://api.github.com/users/twcurrie/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-02-22T17:39:26Z",
    "updated_at": "2018-08-30T03:21:25Z",
    "closed_at": "2018-08-30T03:21:25Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/417",
      "html_url": "https://github.com/hub4j/github-api/pull/417",
      "diff_url": "https://github.com/hub4j/github-api/pull/417.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/417.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/415",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/415/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/415/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/415/events",
    "html_url": "https://github.com/hub4j/github-api/issues/415",
    "id": 298028849,
    "node_id": "MDU6SXNzdWUyOTgwMjg4NDk=",
    "number": 415,
    "title": "mvn test fails to start on HEAD",
    "user": {
      "login": "gdgib",
      "id": 801167,
      "node_id": "MDQ6VXNlcjgwMTE2Nw==",
      "avatar_url": "https://avatars0.githubusercontent.com/u/801167?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/gdgib",
      "html_url": "https://github.com/gdgib",
      "followers_url": "https://api.github.com/users/gdgib/followers",
      "following_url": "https://api.github.com/users/gdgib/following{/other_user}",
      "gists_url": "https://api.github.com/users/gdgib/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/gdgib/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/gdgib/subscriptions",
      "organizations_url": "https://api.github.com/users/gdgib/orgs",
      "repos_url": "https://api.github.com/users/gdgib/repos",
      "events_url": "https://api.github.com/users/gdgib/events{/privacy}",
      "received_events_url": "https://api.github.com/users/gdgib/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 8,
    "created_at": "2018-02-17T19:14:28Z",
    "updated_at": "2018-08-30T15:37:51Z",
    "closed_at": "2018-08-30T15:37:50Z",
    "author_association": "NONE",
    "body": "If I checkout `192e21a9fcacf4dffc975156bcf5e8ff7bf297b1` (HEAD right now), and run `mvn test` I see a `ClassNotFoundException`.  It cannot even report success or failure of individual tests.\r\n\r\nI believe this is related to https://github.com/kohsuke/github-api/pull/388 which upgraded jgit, but maybe not all of the unit tests.  Specifically [`LifecycleTest`](https://github.com/kohsuke/github-api/blob/master/src/test/java/org/kohsuke/github/LifecycleTest.java) references `UsernamePasswordCredentialsProvider` which is no longer in the newer versions of jgit.\r\n\r\nI'll be honest, as I tried to fix this I kept getting some unexpected classpath errors related to jgit (first this one, then one about `GitAPIException`, etc), and much as I know my way around a super complex build, I didn't feel like learning about the maven plugin for bridge method generation, and everything else it might take me to sort this out.  Is there something basic I missed for setting up a working development environment for this project?  I feel like I must have missed something simple for `mvn test` not to work.\r\n\r\nThe surefire log shows:\r\n\r\n```\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\norg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null\r\njava.lang.reflect.InvocationTargetException\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\nCaused by: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/CredentialsProvider\r\n        at java.lang.Class.getDeclaredMethods0(Native Method)\r\n        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)\r\n        at java.lang.Class.getMethod0(Class.java:3018)\r\n        at java.lang.Class.getMethod(Class.java:1784)\r\n        at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)\r\n        at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)\r\n        at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)\r\n        at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)\r\n        at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)\r\n        at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)\r\n        at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)\r\n        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)\r\n        ... 9 more\r\nCaused by: java.lang.ClassNotFoundException: org.eclipse.jgit.transport.CredentialsProvider\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        ... 22 more\r\n\r\nResults :\r\n\r\nTests run: 0, Failures: 0, Errors: 0, Skipped: 0\r\n```\r\n\r\n\r\nMaven version:\r\n```\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)\r\nMaven home: C:\\Program Files\\Maven\r\nJava version: 1.8.0_121, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_121\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows nt (unknown)\", version: \"10.0\", arch: \"amd64\", family: \"dos\"\r\n```"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/414",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/414/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/414/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/414/events",
    "html_url": "https://github.com/hub4j/github-api/issues/414",
    "id": 298019002,
    "node_id": "MDU6SXNzdWUyOTgwMTkwMDI=",
    "number": 414,
    "title": "NullPointerException in org.kohsuke.github.GHContent.read",
    "user": {
      "login": "turbanoff",
      "id": 741251,
      "node_id": "MDQ6VXNlcjc0MTI1MQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/741251?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/turbanoff",
      "html_url": "https://github.com/turbanoff",
      "followers_url": "https://api.github.com/users/turbanoff/followers",
      "following_url": "https://api.github.com/users/turbanoff/following{/other_user}",
      "gists_url": "https://api.github.com/users/turbanoff/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/turbanoff/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/turbanoff/subscriptions",
      "organizations_url": "https://api.github.com/users/turbanoff/orgs",
      "repos_url": "https://api.github.com/users/turbanoff/repos",
      "events_url": "https://api.github.com/users/turbanoff/events{/privacy}",
      "received_events_url": "https://api.github.com/users/turbanoff/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-02-17T16:57:54Z",
    "updated_at": "2018-08-30T15:05:36Z",
    "closed_at": "2018-08-30T15:05:36Z",
    "author_association": "CONTRIBUTOR",
    "body": "Hello.\r\nI'm trying to use github search API and sometimes got NPE. (tailApiUrl is null)\r\n\r\n    Exception in thread \"main\" java.lang.NullPointerException\r\n\tat org.kohsuke.github.GitHub.getApiURL(GitHub.java:297)\r\n\tat org.kohsuke.github.Requester.asStream(Requester.java:327)\r\n\tat org.kohsuke.github.GHContent.read(GHContent.java:117)\r\n\r\nUsed version: `org.kohsuke:github-api:1.92`\r\n\r\n![default](https://user-images.githubusercontent.com/741251/36343870-e114b9e4-1422-11e8-830a-907720878d38.png)\r\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/413",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/413/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/413/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/413/events",
    "html_url": "https://github.com/hub4j/github-api/pull/413",
    "id": 297041651,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTY5MDY5OTIw",
    "number": 413,
    "title": "fix issues",
    "user": {
      "login": "eosmanov",
      "id": 16746779,
      "node_id": "MDQ6VXNlcjE2NzQ2Nzc5",
      "avatar_url": "https://avatars1.githubusercontent.com/u/16746779?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/eosmanov",
      "html_url": "https://github.com/eosmanov",
      "followers_url": "https://api.github.com/users/eosmanov/followers",
      "following_url": "https://api.github.com/users/eosmanov/following{/other_user}",
      "gists_url": "https://api.github.com/users/eosmanov/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/eosmanov/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/eosmanov/subscriptions",
      "organizations_url": "https://api.github.com/users/eosmanov/orgs",
      "repos_url": "https://api.github.com/users/eosmanov/repos",
      "events_url": "https://api.github.com/users/eosmanov/events{/privacy}",
      "received_events_url": "https://api.github.com/users/eosmanov/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-02-14T10:20:36Z",
    "updated_at": "2019-06-20T00:12:00Z",
    "closed_at": "2019-06-20T00:12:00Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/413",
      "html_url": "https://github.com/hub4j/github-api/pull/413",
      "diff_url": "https://github.com/hub4j/github-api/pull/413.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/413.patch"
    },
    "body": ""
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/411",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/411/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/411/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/411/events",
    "html_url": "https://github.com/hub4j/github-api/pull/411",
    "id": 294566335,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTY3MjcyODUy",
    "number": 411,
    "title": "Add GHRepository.getRelease and GHRepository.getReleaseByTagName",
    "user": {
      "login": "tadfisher",
      "id": 129148,
      "node_id": "MDQ6VXNlcjEyOTE0OA==",
      "avatar_url": "https://avatars3.githubusercontent.com/u/129148?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/tadfisher",
      "html_url": "https://github.com/tadfisher",
      "followers_url": "https://api.github.com/users/tadfisher/followers",
      "following_url": "https://api.github.com/users/tadfisher/following{/other_user}",
      "gists_url": "https://api.github.com/users/tadfisher/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/tadfisher/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/tadfisher/subscriptions",
      "organizations_url": "https://api.github.com/users/tadfisher/orgs",
      "repos_url": "https://api.github.com/users/tadfisher/repos",
      "events_url": "https://api.github.com/users/tadfisher/events{/privacy}",
      "received_events_url": "https://api.github.com/users/tadfisher/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-02-05T22:33:14Z",
    "updated_at": "2018-08-30T03:22:27Z",
    "closed_at": "2018-08-30T03:22:27Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/411",
      "html_url": "https://github.com/hub4j/github-api/pull/411",
      "diff_url": "https://github.com/hub4j/github-api/pull/411.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/411.patch"
    },
    "body": "These implement the API endpoints for:\r\n\r\n- `GET /repos/:owner/:repo/releases/:id`\r\n- `GET /repos/:owner/:repo/releases/tags/:tag`"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/410",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/410/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/410/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/410/events",
    "html_url": "https://github.com/hub4j/github-api/pull/410",
    "id": 290794329,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTY0NTQ0MDc4",
    "number": 410,
    "title": "Update commons-lang to 3.7",
    "user": {
      "login": "Limess",
      "id": 3199181,
      "node_id": "MDQ6VXNlcjMxOTkxODE=",
      "avatar_url": "https://avatars1.githubusercontent.com/u/3199181?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Limess",
      "html_url": "https://github.com/Limess",
      "followers_url": "https://api.github.com/users/Limess/followers",
      "following_url": "https://api.github.com/users/Limess/following{/other_user}",
      "gists_url": "https://api.github.com/users/Limess/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Limess/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Limess/subscriptions",
      "organizations_url": "https://api.github.com/users/Limess/orgs",
      "repos_url": "https://api.github.com/users/Limess/repos",
      "events_url": "https://api.github.com/users/Limess/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Limess/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 2,
    "created_at": "2018-01-23T11:01:24Z",
    "updated_at": "2018-03-01T17:45:16Z",
    "closed_at": "2018-03-01T17:45:16Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/410",
      "html_url": "https://github.com/hub4j/github-api/pull/410",
      "diff_url": "https://github.com/hub4j/github-api/pull/410.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/410.patch"
    },
    "body": "This fixes the issue in the dependency\r\n* https://issues.apache.org/jira/browse/LANG-805.\r\n\r\nFixes #409."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/409",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/409/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/409/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/409/events",
    "html_url": "https://github.com/hub4j/github-api/issues/409",
    "id": 290791927,
    "node_id": "MDU6SXNzdWUyOTA3OTE5Mjc=",
    "number": 409,
    "title": "Update commons-lang version",
    "user": {
      "login": "Limess",
      "id": 3199181,
      "node_id": "MDQ6VXNlcjMxOTkxODE=",
      "avatar_url": "https://avatars1.githubusercontent.com/u/3199181?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/Limess",
      "html_url": "https://github.com/Limess",
      "followers_url": "https://api.github.com/users/Limess/followers",
      "following_url": "https://api.github.com/users/Limess/following{/other_user}",
      "gists_url": "https://api.github.com/users/Limess/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/Limess/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/Limess/subscriptions",
      "organizations_url": "https://api.github.com/users/Limess/orgs",
      "repos_url": "https://api.github.com/users/Limess/repos",
      "events_url": "https://api.github.com/users/Limess/events{/privacy}",
      "received_events_url": "https://api.github.com/users/Limess/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-01-23T10:53:29Z",
    "updated_at": "2018-03-01T17:45:16Z",
    "closed_at": "2018-03-01T17:45:16Z",
    "author_association": "CONTRIBUTOR",
    "body": "Apache commons-lang should be updated to mitigate the issue documented below:\r\n\r\nhttps://issues.apache.org/jira/browse/LANG-805\r\n\r\nThese are fixed in the latest version (note the new artifact name: https://mvnrepository.com/artifact/org.apache.commons/commons-lang3).\r\n\r\nThis is causing issues with our dependency scanning software (whitesource) as these issues are marked as blockers."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/408",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/408/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/408/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/408/events",
    "html_url": "https://github.com/hub4j/github-api/pull/408",
    "id": 288920702,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTYzMTg4NDI2",
    "number": 408,
    "title": "[JENKINS-48954] - Add the Jenkins-ClassFilter-Whitelisted manifest entry",
    "user": {
      "login": "oleg-nenashev",
      "id": 3000480,
      "node_id": "MDQ6VXNlcjMwMDA0ODA=",
      "avatar_url": "https://avatars0.githubusercontent.com/u/3000480?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/oleg-nenashev",
      "html_url": "https://github.com/oleg-nenashev",
      "followers_url": "https://api.github.com/users/oleg-nenashev/followers",
      "following_url": "https://api.github.com/users/oleg-nenashev/following{/other_user}",
      "gists_url": "https://api.github.com/users/oleg-nenashev/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/oleg-nenashev/subscriptions",
      "organizations_url": "https://api.github.com/users/oleg-nenashev/orgs",
      "repos_url": "https://api.github.com/users/oleg-nenashev/repos",
      "events_url": "https://api.github.com/users/oleg-nenashev/events{/privacy}",
      "received_events_url": "https://api.github.com/users/oleg-nenashev/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [
      {
        "id": 265903461,
        "node_id": "MDU6TGFiZWwyNjU5MDM0NjE=",
        "url": "https://api.github.com/repos/hub4j/github-api/labels/work-in-progress",
        "name": "work-in-progress",
        "color": "d4c5f9",
        "default": false,
        "description": null
      }
    ],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 6,
    "created_at": "2018-01-16T14:12:32Z",
    "updated_at": "2018-01-25T15:22:50Z",
    "closed_at": "2018-01-25T15:22:50Z",
    "author_association": "COLLABORATOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/408",
      "html_url": "https://github.com/hub4j/github-api/pull/408",
      "diff_url": "https://github.com/hub4j/github-api/pull/408.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/408.patch"
    },
    "body": "In Jenkins project [JEP-200](https://jenkins.io/blog/2018/01/13/jep-200/) introduces serious changes in class serialization since 2.102. Some Jenkins plugins (e.g. GitHub Pull Request Builder) are affected by the change due to serialization of GitHub API (see [JENKINS-48950](https://issues.jenkins-ci.org/browse/JENKINS-48950)). It is still TBD whether such serialization is desirable, but I am putting this PR here just in case.\r\n\r\nPlease do not merge for now\r\n\r\n@reviewbybees @jglick \r\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/407",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/407/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/407/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/407/events",
    "html_url": "https://github.com/hub4j/github-api/pull/407",
    "id": 287287644,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTYyMDE3NTkz",
    "number": 407,
    "title": "Adding merge settings to GHCreateRepositoryBuilder",
    "user": {
      "login": "notsudo",
      "id": 1791046,
      "node_id": "MDQ6VXNlcjE3OTEwNDY=",
      "avatar_url": "https://avatars1.githubusercontent.com/u/1791046?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/notsudo",
      "html_url": "https://github.com/notsudo",
      "followers_url": "https://api.github.com/users/notsudo/followers",
      "following_url": "https://api.github.com/users/notsudo/following{/other_user}",
      "gists_url": "https://api.github.com/users/notsudo/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/notsudo/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/notsudo/subscriptions",
      "organizations_url": "https://api.github.com/users/notsudo/orgs",
      "repos_url": "https://api.github.com/users/notsudo/repos",
      "events_url": "https://api.github.com/users/notsudo/events{/privacy}",
      "received_events_url": "https://api.github.com/users/notsudo/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 0,
    "created_at": "2018-01-10T01:36:18Z",
    "updated_at": "2018-03-28T18:18:40Z",
    "closed_at": "2018-01-13T03:39:04Z",
    "author_association": "NONE",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/407",
      "html_url": "https://github.com/hub4j/github-api/pull/407",
      "diff_url": "https://github.com/hub4j/github-api/pull/407.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/407.patch"
    },
    "body": "I noticed that the settings for configuring the allowed merge strategies for pull requests were missing from the GHCreateRepositoryBuilder. This adds them."
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/406",
    "repository_url": "https://api.github.com/repos/hub4j/github-api",
    "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/406/labels{/name}",
    "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/406/comments",
    "events_url": "https://api.github.com/repos/hub4j/github-api/issues/406/events",
    "html_url": "https://github.com/hub4j/github-api/pull/406",
    "id": 286765266,
    "node_id": "MDExOlB1bGxSZXF1ZXN0MTYxNjQzMzcw",
    "number": 406,
    "title": "Improved Pull Request review and comments support",
    "user": {
      "login": "sns-seb",
      "id": 11717580,
      "node_id": "MDQ6VXNlcjExNzE3NTgw",
      "avatar_url": "https://avatars2.githubusercontent.com/u/11717580?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/sns-seb",
      "html_url": "https://github.com/sns-seb",
      "followers_url": "https://api.github.com/users/sns-seb/followers",
      "following_url": "https://api.github.com/users/sns-seb/following{/other_user}",
      "gists_url": "https://api.github.com/users/sns-seb/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/sns-seb/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/sns-seb/subscriptions",
      "organizations_url": "https://api.github.com/users/sns-seb/orgs",
      "repos_url": "https://api.github.com/users/sns-seb/repos",
      "events_url": "https://api.github.com/users/sns-seb/events{/privacy}",
      "received_events_url": "https://api.github.com/users/sns-seb/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [],
    "state": "closed",
    "locked": false,
    "assignee": null,
    "assignees": [],
    "milestone": null,
    "comments": 1,
    "created_at": "2018-01-08T14:40:23Z",
    "updated_at": "2018-01-13T18:03:19Z",
    "closed_at": "2018-01-13T18:03:19Z",
    "author_association": "CONTRIBUTOR",
    "pull_request": {
      "url": "https://api.github.com/repos/hub4j/github-api/pulls/406",
      "html_url": "https://github.com/hub4j/github-api/pull/406",
      "diff_url": "https://github.com/hub4j/github-api/pull/406.diff",
      "patch_url": "https://github.com/hub4j/github-api/pull/406.patch"
    },
    "body": "At SonarSource, we have been using the Github API library for a while.\r\n\r\nUnfortunately to implement new features in SonarQube, we hit some limitations.\r\n\r\nSupport for Pull Request reviews is out of date. Only support for beta has been done, and things changed a bit when the feature got public:\r\n\r\n- review state and review event flag actually do not have the same values\r\n- the beta header are now useless\r\n- new review can now be posted in a single API call\r\n\r\nPull Request comment support has some limitations and bugs:\r\n\r\n- original_position field of review comments isn't parsed\r\n- a comment's position can actually be null, this indicates an out-of-date comment\r\n- the ability to create a reply hasn't been implemented yet\r\n\r\nSo we added it to an internal fork and are contributing it back to the community.\r\n\r\nUnit test coverage of the changes are far from SonarSource's standard, but we mostly failed at making existing unit tests run (mostly by a lack of the right Github credentials, it seems) so we barely added any new one.\r\n\r\nIf you have any direction to provide in order to successfully run the existing UTs, we will be happy to provide UT coverage on our new code.\r\n\r\nIn the mean time, rest assured that the new code has been field tested.\r\n\r\nPlease let us know if the contribution is acceptable in the shape below. We will be happy to drop our internal fork in favor of the original library when the changes are merged.\r\n\r\nCheers,\r\n  \r\n  "
  }
]