Skip to content

Expose cycle analytics stages and events

Adam Hegyi requested to merge expose-cycle-analytics-stages-and-events into master

What does this MR do?

This MR is part of the customizable Cycle Analytics backend feature. It exposes a JSON structure that will be used by the frontend to build up the stage list.

The stages can be loaded for a specific group with the group_id parameter:

/-/analytics/cycle_analytics/stages?group_id=$GROUP_FULL_PATH

Note: cycle_analytics_for_groups license is required and cycle_analytics feature flag needs to be enabled.

Example response: stages.json

The stages can be persisted into the database (feature not merged yet), this commit only returns the available stages that are coming with the default cycle analytics feature: https://about.gitlab.com/product/cycle-analytics/

Note: This MR contains a small set of changes to facilitate the review process, more MRs will follow.

Screenshots

ca_stages

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports