JiriOndrusek commented on code in PR #19692:
URL: https://github.com/apache/camel/pull/19692#discussion_r2460407940


##########
components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java:
##########
@@ -87,7 +87,7 @@ private String getServerTimestamp() {
      * @return {@link DateTimeZone} of the user
      */
     private DateTimeZone getUserTimeZone() {
-        URI userURI = URI.create(getEndpoint().getConfiguration().getJiraUrl() 
+ "/rest/api/latest/myself");
+        URI userURI = 
URI.create(getEndpoint().getConfiguration().getJiraUrl()).resolve("rest/api/latest/myself");

Review Comment:
   The documentation says as en example to use an url with ending `/`. 
Therefore this is "undocumented" regression.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to