/**
  * Add Redmine user issues
  *
  * @param array  $issues Issues
  * @param number $keyId  Redmine key ID
  *
  * @return void
  */
 protected function _addRedmineUserIssues(array $issues, $keyId)
 {
     foreach ($issues as $issue) {
         $issueData = [UserIssue::COLUMN_KEY_ID => $keyId, UserIssue::COLUMN_ISSUE_ID => $this->_issueHelper->getIssueId($issue)];
         $this->_userIssue->setData($issueData)->save();
     }
 }
 /**
  * Get message for new issue
  *
  * @param array $issueData Issue data
  *
  * @return string
  */
 private function _getMessageForNewIssue(array $issueData)
 {
     return "{$issueData['project']}. {$issueData['status']}. " . "{$this->_issueGetter->getRedmineUrl($issueData['number'])}\n" . "{$issueData['subject']}";
 }