aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-12-01 17:11:50 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-12-01 17:11:50 +0100
commit0f6bb7921c7285738d9b40956f80f0f6da3224dc (patch)
tree8c3f57d7ba40dffe1c0a39ae5454edbabb6a0c20
parent93adda4247297bdbeacc3055f612555e9a1b4a05 (diff)
downloadbugzilla-triage-0f6bb7921c7285738d9b40956f80f0f6da3224dc.tar.gz
This is correct interpreation of the current policy.
-rw-r--r--bugzillaBugTriage.js17
1 files changed, 12 insertions, 5 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index a2173bf..d3dc7dd 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -19,6 +19,7 @@ var SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85
var ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83
var Luminosity = 0.85;
var Desaturated = 0.4;
+var TriagedDistro = 13;
var NumberOfFrames = 7;
var XMLRPCurl = "https://bugzilla.redhat.com/xmlrpc.cgi";
var myConfig = jetpack.storage.simple;
@@ -1224,11 +1225,17 @@ bzPage.prototype.generalPurposeCureForAllDisease = function
// and
// http://meetbot.fedoraproject.org/fedora-meeting/2009-11-24\
// /fedora-meeting.2009-11-24-15.11.log.html
- // for F12 and later, ASSIGNED is "don't change status, add
- // Triaged keyword"
- if (!isInList(this.maintCCAddr, this.CCList)) {
- $("#newcc",this.doc).text(this.maintCCAddr);
- }
+ // and
+ // http://meetbot.fedoraproject.org/fedora-meeting/2009-11-24\
+ // /fedora-meeting.2009-11-24-15.11.log.html
+ // for F13 and later, ASSIGNED is "add Triaged keyword" (as well)
+ // for <F13 it is "add both" (ASSIGNED status and Triaged keyword)
+ if (!isInList(this.maintCCAddr, this.CCList)) {
+ $("#newcc",this.doc).text(this.maintCCAddr);
+ }
+ if ((!this.isRHELBug()) && (verNo < TriagedDistro)) {
+ this.selectOption("bug_status", nextState);
+ }
this.setKeyword("Triaged");
} else if (nextState === "QUERYSEL") {
this.queryForSelection();