protected function createUrlByContext($context) { $host = $this->getConfiguration()->getJiraHost(); return $host . $this->api_uri . '/' . preg_replace('/\\//', '', $context, 1); }