diff --git a/lib/jira/base.rb b/lib/jira/base.rb index 4ea4958b..5353d1bb 100644 --- a/lib/jira/base.rb +++ b/lib/jira/base.rb @@ -447,7 +447,7 @@ def url # [07/Jun/2015:15:17:18 +0400] "PUT /jira/rest/api/2/issue/10111 HTTP/1.1" 204 - def patched_url result = url - return result if result.start_with?('/') + return result if result.start_with?('/', 'http') "/#{result}" end