in TeamCity.BitBucketIssues-server/src/main/java/jetbrains/buildServer/issueTracker/bitbucket/IssueParser.java [23:36]
public IssueData parse(@NotNull final String issueAsString) {
try {
return doParse(new ObjectMapper().readValue(issueAsString, Map.class));
} catch (Exception e) {
LOG.error("Could not parse issue json from Bitbucket. Error message is: " + e.getMessage());
if (LOG.isDebugEnabled()) {
LOG.debug(
"Could not parse issue json from Bitbucket. Response (cut to first 100 symbols): ["
+ issueAsString.substring(Math.min(100, issueAsString.length() - 1))
+ "]");
}
throw new RuntimeException(e);
}
}