Skip to content

Commit 7f52031

Browse files
committed
Merge branch 'master' of github.com:kohsuke/github-api
2 parents 5430f3d + f3a1272 commit 7f52031

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/org/kohsuke/github/GHIssue.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ public void setBody(String body) throws IOException {
203203
edit("body",body);
204204
}
205205

206+
public void setMilestone(GHMilestone milestone) throws IOException {
207+
edit("milestone",milestone.getNumber());
208+
}
209+
206210
public void assignTo(GHUser user) throws IOException {
207211
setAssignees(user);
208212
}

0 commit comments

Comments
 (0)