Once an item is set to withdrawn status, all other statuses need to be automatically removed (rather than removing each manually). When doing a batch change to withdrawn, mending or not for loan statuses remain and we need them to be removed once the withdrawn status is set.
There is no official definition in Koha of what the withdrawn status means, so I don't think it's possible to set a rule about what other statuses can coexist with it.
Given "When doing a batch change" I think this is more of a bug about how undiscoverable an existing feature is: in Batch item modification, checking the unlabeled (other than the hover text "Check to delete subfield 4" if you happen to be using a pointer rather than the keyboard) checkbox to the right of both Damaged and Not for loan with do exactly what you want, clear those while setting Withdrawn.
(In reply to Phil Ringnalda from comment #2) > Given "When doing a batch change" I think this is more of a bug about how > undiscoverable an existing feature is: in Batch item modification, checking > the unlabeled (other than the hover text "Check to delete subfield 4" if you > happen to be using a pointer rather than the keyboard) checkbox to the right > of both Damaged and Not for loan with do exactly what you want, clear those > while setting Withdrawn. That's a good point, Phil. The check box has not been the most intuitive to train people to use. We can definitely remove Not for Loan, Damaged, and Lost statuses when doing a batch modification here then, but do you know if there is a way to do this with circulation statuses like "in transit" as well? I had thought these would disappear once items were checked into their destination location, but I've had some feedback that that status is still showing up (or the item has to be scanned multiple times to get it removed). May be a different issue entirely and probably a long shot since I don't know that any ILS can do that, but just thought I'd throw it out there to see if it was possible for circulation statuses to be manually edited without checking out or checking in an item.