Issue Analytics: Wildcard values for milestone and assignee filters not working
Summary
Wildcard values for the milestone and assignee filters are not working – they aren't being applied to the chart or the table for different reasons:
- The filter bar is using the wrong parameter for milestone wildcard values – it's using
milestone_title
instead ofmilestone_wildcard_id
. Either way, they can't be used together and the queries being used by the Enhanced Issue Analytics chart don't support wildcard arguments (e.g., https://docs.gitlab.com/ee/api/graphql/reference/#groupvaluestreamanalyticsflowmetricsissuescompletedcount) - For the
assignee
filter, the only argument that supports wildcard values isassigneeId
, and while the query being used by the table supports it, like above, the queries being used by the chart do not.
Steps to reproduce
Visit https://gitlab.com/gitlab-org/gitlab/-/analytics/issues_analytics and try selecting wildcard options (e.g., None
, Any
, etc., etc.) for either the milestone or assignee filters.
What is the current bug behavior?
Selecting wildcard options for the milestone and assignee filters results in inconsistent behavior when applied to the chart and table.
What is the expected correct behavior?
Either selecting wildcard options for the milestone and assignee filters results in consistent behavior when applied to the chart and table, or they are removed altogether.
Possible fixes
- Remove wildcard options (e.g.,
None
,Any
,Upcoming
,Started
) formilestone
andassignee
from filter bar
Edited by Rudy Crespo