Closed Bug 220183 Opened 21 years ago Closed 21 years ago

post_bug.cgi could allow setting the status_whiteboard attribute

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.17.4
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: kiko, Assigned: kiko)

Details

Attachments

(1 file)

I'm working on a script that uses post_bug.cgi as a backend to submit a new bug.
However, post_bug.cgi currently doesn't allow that attribute to be set. I'm
assuming it's a matter of doing:

@@ -137,7 +137,7 @@
 my @bug_fields = ("version", "rep_platform",
                   "bug_severity", "priority", "op_sys", "assigned_to",
                   "bug_status", "bug_file_loc", "short_desc",
-                  "target_milestone");
+                  "target_milestone", "status_whiteboard");
 
 if (Param("useqacontact")) {
     SendSQL("SELECT initialqacontact FROM components " .

I'm not suggesting adding the whiteboard field to the UI, btw. Would such a
change be acceptable?
Tested, and this works as I hoped.
Attachment #132197 - Flags: review?(gerv)
Comment on attachment 132197 [details] [diff] [review]
kiko_v1: add status_whiteboard to post_bug.cgi backend list

r=gerv.

Gerv
Attachment #132197 - Flags: review?(gerv) → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval? → approval+
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.18
Over to me..
Assignee: myk → kiko
Status: ASSIGNED → NEW
Checked in, thanks.

/cvsroot/mozilla/webtools/bugzilla/post_bug.cgi,v  <--  post_bug.cgi
new revision: 1.85; previous revision: 1.84
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: