Commit 2244e4b6 authored by Marco Andreini's avatar Marco Andreini Committed by Tim Olshansky

Milestone is not more required creating issue. (#175)

parent b207ac92
...@@ -1407,7 +1407,7 @@ public class GitlabAPI { ...@@ -1407,7 +1407,7 @@ public class GitlabAPI {
return retrieve().to(tailUrl, GitlabIssue.class); return retrieve().to(tailUrl, GitlabIssue.class);
} }
public GitlabIssue createIssue(int projectId, int assigneeId, int milestoneId, String labels, public GitlabIssue createIssue(int projectId, int assigneeId, Integer milestoneId, String labels,
String description, String title) throws IOException { String description, String title) throws IOException {
String tailUrl = GitlabProject.URL + "/" + projectId + GitlabIssue.URL; String tailUrl = GitlabProject.URL + "/" + projectId + GitlabIssue.URL;
GitlabHTTPRequestor requestor = dispatch(); GitlabHTTPRequestor requestor = dispatch();
...@@ -1437,7 +1437,7 @@ public class GitlabAPI { ...@@ -1437,7 +1437,7 @@ public class GitlabAPI {
} }
private void applyIssue(GitlabHTTPRequestor requestor, int projectId, private void applyIssue(GitlabHTTPRequestor requestor, int projectId,
int assigneeId, int milestoneId, String labels, String description, int assigneeId, Integer milestoneId, String labels, String description,
String title) { String title) {
requestor.with("title", title) requestor.with("title", title)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment