diff options
author | mkanat%bugzilla.org <> | 2009-09-30 10:55:03 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-30 10:55:03 +0200 |
commit | ac905a580c68bcf9b4ddaaff636969575aab4c64 (patch) | |
tree | ab9fe5dd41311b851148b0e5b85886e306b29cd5 /contrib/gnats2bz.pl | |
parent | dc4608b97cec3af3c7028717da291cd5e238a8d4 (diff) | |
download | bugzilla-ac905a580c68bcf9b4ddaaff636969575aab4c64.tar.gz bugzilla-ac905a580c68bcf9b4ddaaff636969575aab4c64.tar.xz |
Bug 488931: Change the default priority values to be human-readable words instead of P1, P2, etc.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'contrib/gnats2bz.pl')
-rwxr-xr-x[-rw-r--r--] | contrib/gnats2bz.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/gnats2bz.pl b/contrib/gnats2bz.pl index 0cd6a3258..27f3ad84a 100644..100755 --- a/contrib/gnats2bz.pl +++ b/contrib/gnats2bz.pl @@ -606,25 +606,25 @@ sub write_bugs { # Mapping from Severity,Priority to priority # At our site, the Severity,Priority fields have degenerated # into a 9-level priority field. - my($priority) = "P1"; + my($priority) = "Highest"; if (defined($pr_data{"Severity"}) && defined($pr_data{"Severity"})) { if ($pr_data{"Severity"} eq "critical") { if ($pr_data{"Priority"} eq "high") { - $priority = "P1"; + $priority = "Highest"; } else { - $priority = "P2"; + $priority = "High"; } } elsif ($pr_data{"Severity"} eq "serious") { if ($pr_data{"Priority"} eq "low") { - $priority = "P4"; + $priority = "Low"; } else { - $priority = "P3"; + $priority = "Normal"; } } else { if ($pr_data{"Priority"} eq "high") { - $priority = "P4"; + $priority = "Low"; } else { - $priority = "P5"; + $priority = "Lowest"; } } } |