});
}
+sub bug_end_of_create {
+ my ($self, $args) = @_;
+ my $params = Bugzilla->input_params;
+
+ return unless $params->{needinfo_from};
+
+ # Add extra params
+ $params->{needinfo} = 1;
+ $params->{needinfo_role} = 'other';
+
+ # Do the rest
+ $self->bug_start_of_update($args);
+}
+
# Clear the needinfo? flag if comment is being given by
# requestee or someone used the override flag.
sub bug_start_of_update {
</td>
<td>
<label for="needinfo" id="needinfo_from_label">
- Need more information from
+ Request information from
</label>
<select name="needinfo_type" id="needinfo_type" style="display:none;">
<option value="needinfo_from" selected="true">Need more information from</option>
--- /dev/null
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+<tr>
+ <th>Request information from:</th>
+ <td colspan="3">
+ <span id="needinfo_from_container">
+ [% INCLUDE global/userselect.html.tmpl
+ id => "needinfo_from"
+ name => "needinfo_from"
+ value => ""
+ size => 30
+ multiple => 5
+ field_title => "Enter one or more comma separated users to request more information from"
+ request_type => "needinfo"
+ %]
+ </span>
+ </td>
+</tr>