We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debbace commit 409931eCopy full SHA for 409931e
components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java
@@ -87,7 +87,7 @@ private String getServerTimestamp() {
87
* @return {@link DateTimeZone} of the user
88
*/
89
private DateTimeZone getUserTimeZone() {
90
- URI userURI = URI.create(getEndpoint().getConfiguration().getJiraUrl() + "/rest/api/latest/myself");
+ URI userURI = URI.create(getEndpoint().getConfiguration().getJiraUrl()).resolve("rest/api/latest/myself");
91
final User user = getEndpoint().getClient().getUserClient().getUser(userURI).claim();
92
final String timezone = user.getTimezone();
93
0 commit comments