Ticket.bjs
[gitlive] / Ticket.vala
index 13b1d5b..0decf9d 100644 (file)
@@ -67,8 +67,22 @@ public class Ticket : Object
                        return;
                }
                 
-               return; 
                 
+               var tid = RooTicket.singleton().createTicket(
+               
+                       _this.project_id.selectProjectId(),
+               
+                       _this.milestone_id.selectedMilestoneId(),
+                       _this.priority_id.selectedPriorityId() ,
+                       _this.classification_id.selectedClassificationId() ,
+                       _this.developer_id.selectedDeveloperId(),
+                       _this.summary.el.get_text() ,
+                       _this.description.el.buffer.text 
+               );
+               
+               if (this.repo != null) {
+                       NewBranch.singleton().show(this.repo, tid);
+               }