1
0
Fork 0

added sample code to assign issue to README.md

master
Alexey 2015-06-17 17:11:52 -07:00
parent 69a768dae7
commit 700ed31b8f
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!");