Skip to content

Fix missing VSA request parameters

Summary

In !40826 (merged) we updated the request parameters for various VSA api requests to take an object instead of a list of parameters. Unfortunately the name of the positional cycleAnalyticsRequestParams parameter was not updated to reflect the corresponding object key (params), as a result the filters are not being applied to the API requests.

Steps to reproduce

  1. Navigate to VSA for a group ie. https://gitlab.com/groups/gitlab-org/-/analytics/value_stream_analytics
  2. Select a new start date, for example 2020-05-01
  3. The data in the stage table stays the same

What is the current bug behavior?

The request parameters do not include the date range or other additional request parameters needed to filter the data.

What is the expected correct behavior?

The request parameters should be applied to the request

Possible fixes