At time of writing, documentation at https://bugzilla.redhat.com/docs/en/html/api/Bugzilla/WebService/Bug.html#update for the 'alias' parameter says: > (string) The alias of the bug. You can only set this > if you are modifying a single bug. If there is more than > one bug specified in ids, passing in a value for alias will > cause an error to be thrown. However, attempting to call Bug.update with alias set to a string gives an error of the form: > Not a HASH reference at Bugzilla/Bug.pm line 2778. (observed on version 4.4.rc1-2.b01) From inspecting the code, it looks like Red Hat's bugzilla treats "alias" as a list field with add/remove operations, but the documentation hasn't been updated to reflect this.
(In reply to comment #0) > From inspecting the code, it looks like Red Hat's bugzilla treats "alias" as > a list field with add/remove operations, but the documentation hasn't been > updated to reflect this. It should be able to take a string or a hash (just like the components and version do for upstream compatibility). The solution is to fix the code, not the documentation :)
I take back what I said in comment #1. For updates, we really do need to do it properly to reduce the amount of hackage required. Therefore the documentation will be updated. -- simon