in TeamCity.GitHubIssues-server/src/main/java/jetbrains/buildServer/issueTracker/github/GitHubIssueProvider.java [147:154]
private static String getHostProperty(@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://github.com/" + matcher.group(1) + "/" + matcher.group(2);
}
return result;
}