Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c80b8f6

Browse filesBrowse files
committed
Add GHIssue#setMilestone
1 parent e25ae27 commit c80b8f6
Copy full SHA for c80b8f6

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHIssue.java
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.