Allows surrounding quote usage in status quick action

What does this MR do and why?

Allows surrounding quote usage in status quick action

AI summary: This change improves how the system searches for work item statuses by name. Previously, if someone searched for a status with quotes around the name (like "To do"), the search would fail. Now the system is smarter - it first tries to find the status by removing the surrounding quotes, and if that doesn't work, it searches with the quotes included. This handles cases where users might accidentally include quotes in their search, while still supporting statuses that actually have quotes as part of their real name. The change includes comprehensive tests to ensure it works correctly in various scenarios, including when statuses have quotes in their actual names or when there are multiple layers of quotes.

Solves Improve /status quick action accuracy and quote... (#556391 - closed)

References

  1. Improve /status quick action accuracy and quote... (#556391 - closed)
  2. Related MR Show available statuses menu on status quick ac... (!198348 - merged)
  3. Contributes to Add autocomplete for quick action /status (#517353 - closed)

Screenshots or screen recordings

Before After
Screen_Recording_2025-07-23_at_13.57.18

How to set up and validate locally

  1. Browse to an issue.
  2. If you didn't configure custom statuses, try using the status quick action like this
    1. /status to do
    2. /status "to do"
    3. /status ""to do"" should not work because status doesn't exist
  3. Go to the root group then Settings --> Issues and add a status named "triage".
  4. Go back to the issue and try a few more cases
    1. /status "triage"
    2. /status ""triage""
    3. /status triage should not work because status doesn't exist

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.

Edited by Marc Saleiko

Merge request reports

Loading