setting a flag via bugzilla's xlmrpc interface?

Christian Iseli Christian.Iseli at licr.org
Tue Mar 13 21:30:29 UTC 2007


On Tue, 13 Mar 2007 14:05:33 -0700, Chris Weyl wrote:
> Do you know if there's a more generic bug update function that would
> allow me to do both actions in the same update?

Maybe multicall, along the lines of:
# Data to be passed in is in the form of an array of hashes
my @data = (
    {
        'methodName' => 'bugzilla.getBug',
        'params'     => ['966', $username, $password],
    },
    {
        'methodName' => 'bugzilla.getBugActivity',
        'params'     => ['966', $username, $password],
    },
);
my $call = $rpc->call('system.multicall', \@data, $username, $password);

Maybe worth a try...

					C




More information about the Fedora-maintainers mailing list