From 840bbad83e4672fc84083437e384f0d332020f53 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 4 Jan 2017 22:22:13 +0000 Subject: Bug 1328665 - Two issues with Project Review form for RRAs --- extensions/MozProjectReview/Extension.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/MozProjectReview') 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', -- cgit v1.2.3-24-g4f1b