Bugzilla::App::Command::move_flag_types - Move currently set flags from one type id to another based on product and optionally component.
Usage: APPLICATION move_flag_types
./bugzilla.pl move_flag_types --old-id 4 --new-id 720 --product Firefox --component Installer
Options:
-h, --help Print a brief help message and exits.
-o, --oldid type_id Old flag type id. Use editflagtypes.cgi to determine the type id from the URL.
-n, --newid type_id New flag type id. Use editflagtypes.cgi to determine the type id from the URL.
-p, --product name The product that the bugs most be assigned to.
-c, --component name (Optional) The component of the given product that the bugs must be assigned to.
-d, --doit Without this argument, changes are not actually committed to the database.
-D, --debug Show the SQL query
This command will move bugs matching a specific product (and optionally a component) from one flag type id to another if the bug has the flag set to either +, -, or ?.
Bugzilla::App::Command::move_flag_types inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $move_flag_types->description;
$move_flag_types = $move_flag_types->description('Foo');
Short description of this command, used for the command list.
my $usage = $move_flag_types->usage;
$move_flag_types = $move_flag_types->usage('Foo');
Usage information for this command, used for the help screen.
Bugzilla::App::Command::move_flag_types inherits all methods from Mojolicious::Command and implements the following new ones.
$move_flag_types->run(@ARGV);
Run this command.