aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-05 17:42:57 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-05 17:42:57 -0700
commitba4585ae8a1c63a49e40461d2e2efc12bc75c58a (patch)
tree8dc9797b39e698089785eef1e6a2ca55e094934b /contrib/jb2bz.py
parentBug 530468: Create a read-only Bugzilla::Whine object for whine events and (diff)
downloadbugzilla-ba4585ae8a1c63a49e40461d2e2efc12bc75c58a.tar.gz
bugzilla-ba4585ae8a1c63a49e40461d2e2efc12bc75c58a.tar.bz2
bugzilla-ba4585ae8a1c63a49e40461d2e2efc12bc75c58a.zip
Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,
IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat
Diffstat (limited to 'contrib/jb2bz.py')
-rwxr-xr-xcontrib/jb2bz.py8
1 files changed, 4 insertions, 4 deletions
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