[BE] Productivity Analytics - Type of Work (pre-defined) - API endpoint
Problem to solve
This particular issue is about providing API endpoint only. Check related issues for other parts.
This issue adds a new chart to the Productivity Analytics
page as described in https://gitlab.com/gitlab-org/gitlab-ee/issues/12246
BE API Requirements
- Request data from API via
/-/analytics/productivity_analytics.json?chart_type=stacked_bar&metric_type=type_of_work
- The endpoint should accept all the same filtering params as other histogram charts on the page.
- Assumed API response structure:
{ DATE: { new: VALUE_INTEGER, churn: VALUE_INTEGER, refactoring: VALUE_INTEGER} }
Questions
(none)
Edited by Pavel Shutsin