Ejemplo n.º 1
0
 public function updateIssue(IncidentInterface $incident)
 {
     $this->getClient()->setImpersonateUser($incident->getReporter()->getUsername());
     $this->getClient()->api('issue')->setIssueStatus($incident->getRedmineIssueId(), $incident->getState()->getName());
     $this->getClient()->setImpersonateUser(null);
 }