aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/projectActivity.ts
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2022-02-28 09:27:47 +0100
committersonartech <sonartech@sonarsource.com>2022-03-02 20:03:47 +0000
commitbb4cc98d5f0b52c3caeb52fc4f772248be8d95fa (patch)
tree52bb9ec0e6368ef52c7d254ea6d06c4d9690e0f7 /server/sonar-web/src/main/js/api/projectActivity.ts
parentc1db3d50a5d01d86417d40a45e0ecc769134f0c8 (diff)
downloadsonarqube-bb4cc98d5f0b52c3caeb52fc4f772248be8d95fa.tar.gz
sonarqube-bb4cc98d5f0b52c3caeb52fc4f772248be8d95fa.zip
SONAR-13704 activity of a project now also display QG changes caused by changing issues status
Diffstat (limited to 'server/sonar-web/src/main/js/api/projectActivity.ts')
-rw-r--r--server/sonar-web/src/main/js/api/projectActivity.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/projectActivity.ts b/server/sonar-web/src/main/js/api/projectActivity.ts
index 4c40f7733ed..cc773eea128 100644
--- a/server/sonar-web/src/main/js/api/projectActivity.ts
+++ b/server/sonar-web/src/main/js/api/projectActivity.ts
@@ -22,9 +22,16 @@ import { getJSON, post, postJSON, RequestData } from '../helpers/request';
import { BranchParameters } from '../types/branch-like';
import { Analysis, Paging } from '../types/types';
+export enum ProjectActivityStatuses {
+ STATUS_PROCESSED = 'P',
+ STATUS_UNPROCESSED = 'U',
+ STATUS_LIVE_MEASURE_COMPUTE = 'L'
+}
+
export function getProjectActivity(
data: {
project: string;
+ statuses?: string;
category?: string;
from?: string;
p?: number;