1
0
Fork 0

Merge pull request #97 from alexeyOnGitHub/patch-1

added sample code to assign issue to README.md
master
Bob Carroll 2015-06-18 22:18:50 -07:00
commit 102109e78a
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ public class Example {
issue.transition()
.field(Field.ASSIGNEE, "batman")
.execute("Open");
/* Assign the issue */
issue.update()
.field(Field.ASSIGNEE, "batman")
.execute();
/* Add two comments, with one limited to the developer role. */
issue.addComment("No problem. We'll get right on it!");