An plugin for osTicket which posts notifications to a Microsoft Teams channel.
Originally forked from: https://github.com/clonemeagain/osticket-slack.
This plugin uses CURL and was designed/tested with osTicket-1.10.1 and updated for use with osTicket-1.17.2 Note This has also been updated to fix the first message being repeated for each notification. It should now show new messages as they come in.
- php_curl
- A Office 365 account
- Clone this repo or download the zip file and place the contents into your
include/plugins
folder. - 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.
- Click on
MS Teams Notifier
and paste your Teams Endpoint URL into the box (MS Teams setup instructions below). - Click
Save Changes
! (If you get an error about curl, you will need to install the Curl module for PHP). - After that, go back to the list of plugins and tick the checkbox next to "MS Teams Notifier" and select the "Enable" button.
- Open MS Teams, navigate to channel and open COnnectors from elipsoids (...) menu
- Select Incoming Webhook and configure
- Choose webhook name and optionally change associated image
- Click Create
- Scroll down and copy the Webhook URL entirely, paste this into the
osTicket -> Admin -> Plugin -> Teams
config admin screen.
The channel you select will receive an event notice, like:
Ivan Pavlovic has set up a connection to Incoming Webhook so group members will be notified for this configuration with name osTicket
Create a ticket!
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.