[Bps-public-commit] rt-extension-notifyslack branch, craig, updated. 0251556a30d6826b0a2f364bd8e57997a445c6d7

Craig Kaiser craig at bestpractical.com
Thu Dec 13 14:12:03 EST 2018

The branch, craig has been updated
       via  0251556a30d6826b0a2f364bd8e57997a445c6d7 (commit)
      from  b9bf4437298a1ddf160dcbfb49541b1775ee0684 (commit)

Summary of changes:
 MANIFEST                        | 21 +++++++++++++++++++++
 lib/RT/Action/NotifySlack.pm    |  2 +-
 lib/RT/Extension/NotifySlack.pm | 14 ++++++++------
 3 files changed, 30 insertions(+), 7 deletions(-)
 create mode 100644 MANIFEST

- Log -----------------------------------------------------------------
commit 0251556a30d6826b0a2f364bd8e57997a445c6d7
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Thu Dec 13 14:06:38 2018 -0500

    Update extension POD and MANIFEST

diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..4dcbaac
--- /dev/null
@@ -0,0 +1,21 @@
+MANIFEST			This list of files
diff --git a/lib/RT/Action/NotifySlack.pm b/lib/RT/Action/NotifySlack.pm
index 1fddeba..b3e1fc5 100644
--- a/lib/RT/Action/NotifySlack.pm
+++ b/lib/RT/Action/NotifySlack.pm
@@ -9,7 +9,7 @@ use JSON;
 sub Describe  {
   my $self = shift;
-  return (ref $self . " will post ticket updates to slack channel.");
+  return (ref $self . "Send template payload to Slack API.");
 sub Prepare  {
diff --git a/lib/RT/Extension/NotifySlack.pm b/lib/RT/Extension/NotifySlack.pm
index 4e7c2d4..805b464 100644
--- a/lib/RT/Extension/NotifySlack.pm
+++ b/lib/RT/Extension/NotifySlack.pm
@@ -18,9 +18,10 @@ RT-Extension-NotifySlack - RT ScripAction Slack integration
-This extension provides the following Slack functionality with RT:
-* post ticket updates to desired Slack channels
+This extension allows for Slack updates to be sent out in the
+same manner that emails are dispatched. Meaning that a on any
+condition a Slack action can be called and a Slack specififc
+template can be used to update a Slack channel.
 =head1 RT VERSION
@@ -65,7 +66,7 @@ Add this line:
 You must add the desired Slack channels and webhook URLs to the
 RT %SlackWebHookUrls config value in RT_SiteConfig.pm. These values
-can be retrieved from Slack's API Incoming Webhooks configuration
+can be retrieved from the Slack API's Incoming Webhooks configuration
 settings. See example below:
     Set( %SlackWebHookUrls,
@@ -76,8 +77,9 @@ The 'Notify Slack' ScripAction posts to one Slack channel. The default
 Slack channel is currently set to #general. You can update this in
 the initialdata file by changing the 'Notify Slack' ScripAction
 Argument to the desired Slack channel ( be sure to include the '#'
-when indicating the channel name ). To post to additional Slack channels,
-copy the ScripAction giving it a new Name and Argument.
+when indicating the channel name and no '#' for direct messaging ).
+To post to additional Slack channels, copy the ScripAction giving it
+a new Name and Argument, something like "Slack Updates To #Support".
 =head1 AUTHOR


More information about the Bps-public-commit mailing list