Hello!

I thought it would be a good idea to post this here, then other people can try this out and possibly improve their osTicket installations and functionality.

This is a plugin to enable notifications of Ticket updates to users via an MS Teams Channel. So when a ticket gets updated, the user will be notified of it so they can quickly reply and resolve their issues quicker.

The reason I made this is not everyone where I work checks their email consistently, but EVERYONE has Microsoft Teams, and checks it constantly, as that is how they communicate here. I'm sure there are some of y'all who get that conundrum.

So, I looked for a plugin. I found this plugin by Data Tech: github[dot]com/Data-Tech-International/osTicket-Microsoft-Teams-plugin
The problem with this plugin is that it was designed for Agents, not users. It links to the agent side of osTicket, and only triggers when a new ticket is created, and that is all.

So I forked it and modified it to work for the user side. It will now trigger teams on ticket creation and updates, and it is even able to mention the user (As long as the user's email is the same as their teams email) so they will receive a notification.

Here it is, let me know what y'all think of it and if there are any issues: github[dot]com/gljones2001/osTicket-Microsoft-Teams-User-plugin

PS: You will need a Webhook forwarder to use mentioning, as PHP mangles some of the MS Teams JSON, specifically the <at>user.mention</at> tag required for mentions to work. If someone knows of a fix for this, please let me know.

[Edited by Admin]

3 months later

I'm looking at this and I would expect the plugin to be a .phar file am I missing something?

Write a Reply...