diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-08-29 23:02:50 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-08-29 23:02:50 +0200 |
commit | a4adf15c47119113ab2e93752042528e15fdecfd (patch) | |
tree | 2d547a803b6f8199eb1df9835dcc9464de2e500a /new_bug.cgi | |
parent | 888e1d3f7b856e5e0f006eff222e14715b8a1900 (diff) | |
download | bugzilla-a4adf15c47119113ab2e93752042528e15fdecfd.tar.gz bugzilla-a4adf15c47119113ab2e93752042528e15fdecfd.tar.xz |
Bug 1392769 - Add other fields to new-bug
Diffstat (limited to 'new_bug.cgi')
-rw-r--r-- | new_bug.cgi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/new_bug.cgi b/new_bug.cgi index 6a49e0b68..4429717c1 100644 --- a/new_bug.cgi +++ b/new_bug.cgi @@ -58,6 +58,8 @@ if (lc($cgi->request_method) eq 'post') { check_hash_token($token, ['new_bug']); my @keywords = $cgi->param('keywords'); my @groups = $cgi->param('groups'); + my @cc = split /, /, $cgi->param('cc'); + my @bug_mentor = split /, /, $cgi->param('bug_mentor'); my $new_bug = Bugzilla::Bug->create({ short_desc => scalar($cgi->param('short_desc')), product => scalar($cgi->param('product')), @@ -68,8 +70,12 @@ if (lc($cgi->request_method) eq 'post') { rep_platform => 'Unspecified', version => scalar( $cgi->param('version')), keywords => \@keywords, - cc => [], + cc => \@cc, comment => scalar($cgi->param('comment')), + dependson => scalar($cgi->param('dependson')), + blocked => scalar($cgi->param('blocked')), + assigned_to => scalar($cgi->param('assigned_to')), + bug_mentors => \@bug_mentor, }); delete_token($token); |