diff options
author | David Lawrence <dkl@mozilla.com> | 2017-01-04 23:22:13 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-01-04 23:22:13 +0100 |
commit | 840bbad83e4672fc84083437e384f0d332020f53 (patch) | |
tree | a46ef8a3d1598d7827f150157c5c8ad831d506bd | |
parent | e3f7a8473ceea34e05e76f09e0220bed09420c46 (diff) | |
download | bugzilla-840bbad83e4672fc84083437e384f0d332020f53.tar.gz bugzilla-840bbad83e4672fc84083437e384f0d332020f53.tar.xz |
Bug 1328665 - Two issues with Project Review form for RRAs
-rw-r--r-- | extensions/MozProjectReview/Extension.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/MozProjectReview/Extension.pm b/extensions/MozProjectReview/Extension.pm index 3c3940ef6..29d709ff4 100644 --- a/extensions/MozProjectReview/Extension.pm +++ b/extensions/MozProjectReview/Extension.pm @@ -40,11 +40,11 @@ sub post_bug_after_creation { my $do_sec_review = 0; my @sec_review_needed = ( 'Engaging a new vendor company', - 'Engaging an individual (independent contractor, temp agency worker, incorporated)', 'Adding a new SOW with a vendor', 'Extending a SOW or renewing a contract', 'Purchasing software', 'Signing up for an online service', + 'Other' ); if ((any { $_ eq $params->{contract_type} } @sec_review_needed) || $params->{mozilla_data} eq 'Yes') { @@ -65,7 +65,7 @@ sub post_bug_after_creation { if ($do_sec_review) { $child_params->{'bug_data'} = { - short_desc => 'RRA: ' . $bug->short_desc, + short_desc => 'RRA: ' . $params->{contract_type} . ' with ' . $params->{other_party}, product => 'Enterprise Information Security', component => 'Rapid Risk Analysis', bug_severity => 'normal', @@ -81,7 +81,7 @@ sub post_bug_after_creation { } $child_params->{'bug_data'} = { - short_desc => 'Finance Review: ' . $bug->short_desc, + short_desc => 'Finance Review: ' . $params->{contract_type} . ' with ' . $params->{other_party}, product => 'Finance', component => 'Purchase Request Form', bug_severity => 'normal', |