From ac905a580c68bcf9b4ddaaff636969575aab4c64 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 30 Sep 2009 08:55:03 +0000 Subject: Bug 488931: Change the default priority values to be human-readable words instead of P1, P2, etc. Patch by Max Kanat-Alexander r=dkl, a=mkanat --- contrib/gnats2bz.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 contrib/gnats2bz.pl (limited to 'contrib/gnats2bz.pl') diff --git a/contrib/gnats2bz.pl b/contrib/gnats2bz.pl old mode 100644 new mode 100755 index 0cd6a3258..27f3ad84a --- 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"; } } } -- cgit v1.2.1