Add jira imports to usage data
What does this MR do?
It adds Jira import stats to the Usage data.
Queries
SELECT MIN("jira_imports"."id") FROM "jira_imports" WHERE "jira_imports"."status" = 4
SELECT MAX("jira_imports"."id") FROM "jira_imports" WHERE "jira_imports"."status" = 4
SELECT COUNT("jira_imports"."id") FROM "jira_imports" WHERE "jira_imports"."status" = 4 AND "jira_imports"."id" BETWEEN 0 AND 99999
SELECT COUNT("jira_imports"."id") FROM "jira_imports" WHERE "jira_imports"."status" = 4 AND "jira_imports"."id" BETWEEN 0 AND 99999
SELECT MIN("jira_imports"."project_id") FROM "jira_imports" WHERE "jira_imports"."status" = 4
SELECT MAX("jira_imports"."project_id") FROM "jira_imports" WHERE "jira_imports"."status" = 4
SELECT COUNT(DISTINCT "jira_imports"."project_id") FROM "jira_imports" WHERE "jira_imports"."status" = 4 AND "jira_imports"."project_id" BETWEEN 0 AND 9999
SELECT SUM("jira_imports"."imported_issues_count") FROM "jira_imports" WHERE "jira_imports"."status" = 4
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Issue #208920 (closed)