diff --git a/src/main/java/com/epam/reportportal/jobs/statistics/DefectUpdateStatisticsJob.java b/src/main/java/com/epam/reportportal/jobs/statistics/DefectUpdateStatisticsJob.java index 82e4ae8..38b92c6 100644 --- a/src/main/java/com/epam/reportportal/jobs/statistics/DefectUpdateStatisticsJob.java +++ b/src/main/java/com/epam/reportportal/jobs/statistics/DefectUpdateStatisticsJob.java @@ -109,6 +109,8 @@ public void execute() { int autoAnalyzed = 0; int userAnalyzed = 0; int sentToAnalyze = 0; + int skipped; + int passed; String version; boolean analyzerEnabled; Set status = new HashSet<>(); @@ -130,6 +132,8 @@ public void execute() { status.add("automatically"); sentToAnalyze += metadata.optInt("sentToAnalyze"); } + skipped = metadata.optInt("skipped"); + passed = metadata.optInt("passed"); userAnalyzed += metadata.optInt("userAnalyzed"); autoAnalyzed += metadata.optInt("analyzed"); @@ -145,7 +149,11 @@ public void execute() { params.put("version", version); params.put("type", analyzerEnabled ? "is_analyzer" : "not_analyzer"); if (analyzerEnabled) { - params.put("number", autoAnalyzed + "#" + userAnalyzed + "#" + sentToAnalyze); + params.put("number", autoAnalyzed + + "#" + userAnalyzed + + "#" + sentToAnalyze + + "#" + skipped + + "#" + passed); params.put("auto_analysis", String.join("#", autoAnalysisState)); params.put("status", String.join("#", status)); }