[Bps-public-commit] rt-extension-notifyslack branch, master, updated. fe8d3da0b4f436354eb0898f9e3bd1608f7a8959
Craig Kaiser
craig at bestpractical.com
Sun Dec 30 15:15:19 EST 2018
The branch, master has been updated
via fe8d3da0b4f436354eb0898f9e3bd1608f7a8959 (commit)
from 18aae954f4604312d1916800acf2023d8860da27 (commit)
Summary of changes:
lib/RT/Action/NotifySlack.pm | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit fe8d3da0b4f436354eb0898f9e3bd1608f7a8959
Author: Craig Kaiser <craig at bestpractical.com>
Date: Sun Dec 30 15:14:59 2018 -0500
Pass argument and Conditional arguments to template object
diff --git a/lib/RT/Action/NotifySlack.pm b/lib/RT/Action/NotifySlack.pm
index b3e1fc5..e04a745 100644
--- a/lib/RT/Action/NotifySlack.pm
+++ b/lib/RT/Action/NotifySlack.pm
@@ -22,6 +22,8 @@ sub Commit {
$self->TemplateObj->Parse(
TicketObj => $self->TicketObj,
TransactionObj => $self->TransactionObj,
+ Argument => $self->Argument,
+ ConditionArgs => $self->ScripObj->{values}->{ConditionArgs}
);
my $webhook_urls = RT->Config->Get( 'SlackWebHookUrls' ) || {};
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list