in TeamCity.BitBucketIssues-server/src/main/java/jetbrains/buildServer/issueTracker/bitbucket/BitBucketIssueProvider.java [79:91]
private static URL getFullUrl(@NotNull final Map<String, String> properties) {
String result = properties.get(PARAM_REPOSITORY);
final Matcher matcher = OWNER_AND_REPO_PATTERN.matcher(result);
if (matcher.matches()) {
result = "https://bitbucket.org/" + matcher.group(1) + "/" + matcher.group(2);
}
try {
return new URL(result);
} catch(MalformedURLException e) {
LOG.warn(e);
}
return null;
}