From ba4585ae8a1c63a49e40461d2e2efc12bc75c58a Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 5 Jul 2010 17:42:57 -0700 Subject: Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED, IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat --- contrib/jb2bz.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/jb2bz.py') diff --git a/contrib/jb2bz.py b/contrib/jb2bz.py index e2f502927..55cb056b5 100755 --- a/contrib/jb2bz.py +++ b/contrib/jb2bz.py @@ -28,7 +28,7 @@ if not mimetypes.types_map.has_key('.doc'): if not mimetypes.encodings_map.has_key('.bz2'): mimetypes.encodings_map['.bz2'] = "bzip2" -bug_status='NEW' +bug_status='CONFIRMED' component="default" version="" product="" # this is required, the rest of these are defaulted as above @@ -265,8 +265,8 @@ def usage(): Where OPTIONS are one or more of the following: -h This help information. - -s STATUS One of UNCONFIRMED, NEW, ASSIGNED, REOPENED, RESOLVED, VERIFIED, CLOSED - (default is NEW) + -s STATUS One of UNCONFIRMED, CONFIRMED, IN_PROGRESS, RESOLVED, VERIFIED + (default is CONFIRMED) -c COMPONENT The component to attach to each bug as it is important. This should be valid component for the Product. -v VERSION Version to assign to these defects. @@ -285,7 +285,7 @@ def main(): for o,a in opts: if o == "-s": - if a in ('UNCONFIRMED','NEW','ASSIGNED','REOPENED','RESOLVED','VERIFIED','CLOSED'): + if a in ('UNCONFIRMED','CONFIRMED','IN_PROGRESS','RESOLVED','VERIFIED'): bug_status = a elif o == '-c': component = a -- cgit v1.2.3-24-g4f1b