diff --git a/src/main/java/org/kohsuke/github/GHIssue.java b/src/main/java/org/kohsuke/github/GHIssue.java index 4978427c69..738b50a75c 100644 --- a/src/main/java/org/kohsuke/github/GHIssue.java +++ b/src/main/java/org/kohsuke/github/GHIssue.java @@ -225,7 +225,15 @@ public GHUser getAssignee() { public GHUser getUser() { return user; } - + + /** + * Reports who has closed the issue. + * + *

+ * Note that GitHub doesn't always seem to report this information + * even for an issue that's already closed. See + * https://github.com/kohsuke/github-api/issues/60. + */ public GHUser getClosedBy() { if(!"closed".equals(state)) return null; if(closed_by != null) return closed_by;