private function getIssue($resource)
    {
        if (strncmp($resource, 'jira:', 5) === 0) {
            return substr($resource, 5);
        }

        return $this->jiraService->getIssue($resource);
    }
private function getIssue($resource)
    {
        if (strncmp($resource, 'jira:', 5) === 0) {
            return substr($resource, 5);
        }

        return $this->jiraService->getIssue($resource);
    }
private function getIssue ( $ resource ) { if ( strncmp ( $ resource , 'jira:' , 5 ) === 0 ) { return substr ( $ resource , 5 ) ; } return $ this -> jiraService -> getIssue ( $ resource ) ; }
Get issue ID from resource

@param mixed $resource

@return string
Get issue ID from resource