Add name filter argument to workItemAllowedStatuses field

What does this MR do and why?

This MR builds on top of !204480 (merged) and adds a name filter argument to the workItemAllowedStatuses GraphQL field. The argument will allow filtering by allowed statuses, provided as a string.

The implementation is a placeholder for now, with the actual filtering logic to be implemented in a follow-up MR.

The name argument is optional and will enable the frontend to filter the list of allowed statuses that belong to multiple namespaces on the user dashboard issue list (see #560683 (closed)), improving the user experience in the status filter dropdown.

References

Screenshots or screen recordings

Screenshot_2025-09-11_at_12.11.08_pm

How to set up and validate locally

  1. Run the query below to test the new filter argument.
query {
  workItemAllowedStatuses(name: "To do") {
    nodes {
      id
      name
      iconName
      color
      category
    }
  }
}

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.

Merge request reports

Loading