@Override
 protected Issue run(Account account) throws Exception {
   Issue editedIssue = new Issue();
   editedIssue.setNumber(issueNumber);
   editedIssue.setMilestone(new Milestone().setNumber(milestoneNumber));
   return store.editIssue(repositoryId, editedIssue);
 }
Ejemplo n.º 2
0
 @Override
 protected Issue run(Account account) throws Exception {
   Issue editedIssue = new Issue();
   editedIssue.setNumber(issueNumber);
   if (close) editedIssue.setState(STATE_CLOSED);
   else editedIssue.setState(STATE_OPEN);
   return store.editIssue(repositoryId, editedIssue);
 }