[
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94328700",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-94328700",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 94328700,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk0MzI4NzAw",
    "user": {
      "login": "kohsuke",
      "id": 50003,
      "node_id": "MDQ6VXNlcjUwMDAz",
      "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/kohsuke",
      "html_url": "https://github.com/kohsuke",
      "followers_url": "https://api.github.com/users/kohsuke/followers",
      "following_url": "https://api.github.com/users/kohsuke/following{/other_user}",
      "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions",
      "organizations_url": "https://api.github.com/users/kohsuke/orgs",
      "repos_url": "https://api.github.com/users/kohsuke/repos",
      "events_url": "https://api.github.com/users/kohsuke/events{/privacy}",
      "received_events_url": "https://api.github.com/users/kohsuke/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-20T00:33:48Z",
    "updated_at": "2015-04-20T00:33:48Z",
    "author_association": "MEMBER",
    "body": "`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.\n\nFor what methods are you seeing differing return values?\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94330158",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-94330158",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 94330158,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk0MzMwMTU4",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-20T00:53:48Z",
    "updated_at": "2015-04-20T00:53:48Z",
    "author_association": "CONTRIBUTOR",
    "body": "@kohsuke assumption that Issue and PR has the same data is wrong. They track different instances of data. Example is date time of changes: https://github.com/KostyaSha/github-pullrequest-plugin/blob/master/src/main/java/org/jenkinsci/plugins/github/pullrequest/GitHubPRTrigger.java#L370-L371\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94330925",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-94330925",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 94330925,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk0MzMwOTI1",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-20T01:02:20Z",
    "updated_at": "2015-04-20T01:02:20Z",
    "author_association": "CONTRIBUTOR",
    "body": "And https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GHPullRequest.java#L111 is Deprecated\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/94331349",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-94331349",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 94331349,
    "node_id": "MDEyOklzc3VlQ29tbWVudDk0MzMxMzQ5",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-04-20T01:09:58Z",
    "updated_at": "2015-04-20T01:09:58Z",
    "author_association": "CONTRIBUTOR",
    "body": "More details about updated_at. \nIf you change label or comment -> it issue change. If you change commits -> PR change. It looks like in GH internal structure it two different objects (and PR is not extended Issue). I'm afraid problems using api library if GH adds more fields, so i prefer using right objects for getting data. And getting Issue from PR seems logical, because it one-direction logical link.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/107682863",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-107682863",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 107682863,
    "node_id": "MDEyOklzc3VlQ29tbWVudDEwNzY4Mjg2Mw==",
    "user": {
      "login": "KostyaSha",
      "id": 231611,
      "node_id": "MDQ6VXNlcjIzMTYxMQ==",
      "avatar_url": "https://avatars2.githubusercontent.com/u/231611?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/KostyaSha",
      "html_url": "https://github.com/KostyaSha",
      "followers_url": "https://api.github.com/users/KostyaSha/followers",
      "following_url": "https://api.github.com/users/KostyaSha/following{/other_user}",
      "gists_url": "https://api.github.com/users/KostyaSha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/KostyaSha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/KostyaSha/subscriptions",
      "organizations_url": "https://api.github.com/users/KostyaSha/orgs",
      "repos_url": "https://api.github.com/users/KostyaSha/repos",
      "events_url": "https://api.github.com/users/KostyaSha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/KostyaSha/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2015-06-01T19:46:20Z",
    "updated_at": "2015-06-01T19:46:20Z",
    "author_association": "CONTRIBUTOR",
    "body": "> , so the design here is to call GHPullRequest.fetchIssue() at the right point\n\nAlso this method is private, having fetchissue and populate methods public should help with getting almost atomic state of remote PR+issue.\n"
  },
  {
    "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/298211586",
    "html_url": "https://github.com/hub4j/github-api/issues/178#issuecomment-298211586",
    "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/178",
    "id": 298211586,
    "node_id": "MDEyOklzc3VlQ29tbWVudDI5ODIxMTU4Ng==",
    "user": {
      "login": "drewish",
      "id": 68750,
      "node_id": "MDQ6VXNlcjY4NzUw",
      "avatar_url": "https://avatars0.githubusercontent.com/u/68750?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/drewish",
      "html_url": "https://github.com/drewish",
      "followers_url": "https://api.github.com/users/drewish/followers",
      "following_url": "https://api.github.com/users/drewish/following{/other_user}",
      "gists_url": "https://api.github.com/users/drewish/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/drewish/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/drewish/subscriptions",
      "organizations_url": "https://api.github.com/users/drewish/orgs",
      "repos_url": "https://api.github.com/users/drewish/repos",
      "events_url": "https://api.github.com/users/drewish/events{/privacy}",
      "received_events_url": "https://api.github.com/users/drewish/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2017-04-30T05:03:28Z",
    "updated_at": "2017-04-30T05:03:28Z",
    "author_association": "NONE",
    "body": "It would be nice if there was an easier way to get a PR from an issue too."
  }
]