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
- Improve /status quick action accuracy and quote... (#556391 - closed)
- Related MR Show available statuses menu on status quick ac... (!198348 - merged)
- 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
- Browse to an issue.
- If you didn't configure custom statuses, try using the status quick action like this
/status to do/status "to do"-
/status ""to do""should not work because status doesn't exist
- Go to the root group then
Settings-->Issuesand add a status named"triage". - Go back to the issue and try a few more cases
/status "triage"/status ""triage""-
/status triageshould 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.