clonemeagain / osticket-slack

a Slack plugin for osTicket
MIT License
47 stars 34 forks source link
osticket osticket-plugin slack

Slack

osTicket-slack

An plugin for osTicket which posts notifications to a Slack channel.

Originally forked from: https://github.com/thammanna/osticket-slack.

Info

This plugin uses CURL and was designed/tested with osTicket-1.10.1

Requirements

Install


  1. Clone this repo or download the zip file and place the contents into your include/plugins folder.
  2. Now the plugin needs to be enabled & configured, so login to osTicket, select "Admin Panel" then "Manage -> Plugins" you should be seeing the list of currently installed plugins.
  3. Click on Slack Notifier and paste your Slack Endpoint URL into the box (Slack setup instructions below).
  4. Click Save Changes! (If you get an error about curl, you will need to install the Curl module for PHP).
  5. After that, go back to the list of plugins and tick the checkbox next to "Slack Notifier" and select the "Enable" button.

Slack Setup:

If you want to add the Department as a field in each slack notice, tick the Checkbox in the Plugin config.

The channel you select will receive an event notice, like:

Aaron [10:56 AM] added an integration to this channel: osTicket Notification

You should also receive an email from Slack telling you about the new Integration.

Discord Setup:

Note: This works very well, but may not be as smooth as Slack is natively.

Test!

Create a ticket!

You should see something like the following appear in your Slack channel:

slack-new-ticket

When a user replies, you'll get something like:

slack-reply

Notes, Replies from Agents and System messages shouldn't appear, usernames are links to the user's page in osTicket, the Ticket subject is a link to the ticket, as is the ticket ID.

Adding pull's from original repo:

+0.2 - 17 december 2016 +[feature] "Ignore when subject equals regex" by @ramonfincken