Example #1
0
 /**
  * Get reopen action ID
  *
  * @param string $id Issue key
  *
  * @return string
  */
 private function getReopenActionId($id)
 {
     $actions = $this->soapClient->getAvailableActions($this->token, $id);
     foreach ($actions as $action) {
         if (strpos(strtolower($action->name), 'reopen') !== false) {
             return $action->id;
         }
     }
 }