<<

NAME

Bugzilla::App::Command::move_flag_types - Move currently set flags from one type id to another based on product and optionally component.

SYNOPSIS

  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

DESCRIPTION

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 ?.

ATTRIBUTES

Bugzilla::App::Command::move_flag_types inherits all attributes from Mojolicious::Command and implements the following new ones.

description

  my $description = $move_flag_types->description;
  $move_flag_types        = $move_flag_types->description('Foo');

Short description of this command, used for the command list.

usage

  my $usage = $move_flag_types->usage;
  $move_flag_types  = $move_flag_types->usage('Foo');

Usage information for this command, used for the help screen.

METHODS

Bugzilla::App::Command::move_flag_types inherits all methods from Mojolicious::Command and implements the following new ones.

run

  $move_flag_types->run(@ARGV);

Run this command.

<<