From 9bb890273582f4ec872af51643b3abdbb15f3c40 Mon Sep 17 00:00:00 2001 From: Petr Kovalev Date: Wed, 8 Oct 2025 13:29:06 +0500 Subject: [PATCH] Fix: createUrlByContext --- src/JiraClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JiraClient.php b/src/JiraClient.php index 02a7dd5..86b4db7 100644 --- a/src/JiraClient.php +++ b/src/JiraClient.php @@ -418,7 +418,7 @@ protected function createUrlByContext(string $context): string { $host = $this->getConfiguration()->getJiraHost(); - return $host.$this->api_uri.'/'.preg_replace('/\//', '', $context, 1); + return $host.$this->api_uri.'/'.preg_replace('/^\//', '', $context, 1); } /**