Show proper error messages on lifecycle settings page
What does this MR do and why?
Show proper error messages for the following 2 use cases
- When validation fails when attempting to remove a status that is in use, consider providing a link to a filtered work item list with that status
-
UX: Update text to read as below, where link goes to the group level list filtered by status.
Cannot delete status 'STATUS NAME' because it is in use. View items using status.
-
- When attempting to apply a status that is deleted, the error is generic. But we already pass a specific error from the backend in the GraphQL response.
References
Screenshots or screen recordings
| Use case | Screenshot |
|---|---|
| When status is in use and we try to delete | ![]() |
| When we try to update a non existing in work item detail | Screen Recording 2025-07-14 at 3.25.07 PM.mov |
How to set up and validate locally
- Try to delete any status that is in use from lifecycle settings page and see the link to the group issues path
- Try to update a status from dropdown that is deleted from the backend (when the page is not refreshed)
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 #554534 (closed)
Edited by Deepika Guliani
