Description of problem: When both --assignee and qa_contact are specified, only the assignee gets updated: $ bugzilla modify --assignee="jhrozek" --qa_contact="jmarko" 799427 $ bugzilla modify --assignee="jhrozek" --qa_contact="jmarko" 799427 $ bugzilla modify --qa_contact="jmarko" 799427 If you check history of the bug, you'll see only two records. This is what happened: 1st bugzilla call: with both assignee and qa_contact updated the assignee 2nd call: again with both assignee and qa_contact did nothing 3rd call: now including only qa_contact finally updated the qa_contact field (I had to workaround BZ#805245 in order to run bugzilla like that) Version: python-bugzilla-0.6.2-2.el6.noarch (f16 srpm rebuilt on rhel6.2, ran against RH bugzilla)
This is a larger problem in that the CLI only intends to allow one action per 'modify' invocation, but breaks it in various ways since some actions also set a comment, and some of those ignore the private flag, and some others ignore comments altogether :/ So this needs some work We should have a build_update option similar to build_query that just sums up all the flags the user passed and does it in one shot.
Upstream now behaves how I suggested in comment #1
Fixed in python-bugzilla-0.8.0-1.fc19