Ability to delete an issue status that is in use
I'm trying to restructure the workflow of some om my Redmine projects which involves changing the issue status definitions.
However, I am unable to delete a configures issue status if there are still issues with that status (as enforced from
IssueStatus#check_integrity). While this is good and healthy, the failure message is not very talkative ("Unable to delete issue status").
It would be great if either
- the User would have the opportunity to select another status for the affected issues, or
- the error message would state the real problem
+1 for more useful error messages at least.
I've had to find this SQL (after setting config.log_level = :info):
SELECT COUNT(*) FROM `trackers` WHERE `trackers`.`default_status_id` = 30
so that I could find out that not only issue statuses matter, but default statuses of trackers, too.