Update Type filter on work items dashboard

What does this MR do and why?

Update Type filter on work items dashboard (#584198 (closed))

With CWITs coming up, we are updating the work items dashboard so that when there is an organization we show the Type filter, otherwise we don't show the Type filter as it is too expensive to collate all types across all groups, along with the complexity of dealing with colliding names.

Known issues to be tackled later since this works fine when work_item_configurable_types is off

  • When work_item_configurable_types is on, the Type != filter does not work because the workItemTypeIds argument does not exist in NegatedIssueFilterInput (or UnionedIssueFilterInput)
  • When work_item_configurable_types is on, organization.workItemTypes does not return CWITs even if custom types exist in a group?

References

Screenshots or screen recordings

How to set up and validate locally

  1. Go to the work items dashboard and check the Type filter works as expected with work_item_configurable_types feature flag on/off

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #584198 (closed)

Edited by Coung Ngo

Merge request reports

Loading