项目作者: mo-azfar

项目描述 :
OTRS - Send a ticket notification to MS Teams Channel upon ticket action. E.g: TicketQueueUpdate
高级语言: Perl
项目地址: git://github.com/mo-azfar/OTRS-Ticket-Notification-To-MS-Teams-Channel.git
创建时间: 2020-04-01T11:23:17Z
项目社区:https://github.com/mo-azfar/OTRS-Ticket-Notification-To-MS-Teams-Channel

开源协议:GNU General Public License v3.0

下载


OTRS-Ticket-Notification-To-MS-Teams

  • Built for OTRS CE v 6.0.x
  • Send ticket notification to MS Teams Channel upon ticket action. E.g: TicketQueueUpdate

    1. Used CPAN Module:
    2. JSON::MaybeXS; #yum install -y perl-JSON-MaybeXS
    3. LWP::UserAgent; #yum install -y perl-LWP-Protocol-https
    4. HTTP::Request::Common;
  1. Create incomig webhook by adding ‘Incoming Webhook’ app in MS Teams.Configure it, add it to specific channel and get the Webhook URL.

  2. Update the Webhook Url at System Configuration > TicketMSTeams::Queue

    1. Queue 1 Name => MS Team Channel Webhook 1
    2. Queue 2 Name => MS Team Channel Webhook 2
    3. Queue 3 Name => MS Team Channel Webhook 3
    4. Example :
    5. Misc => https://outlook.office.com/webhook/b30SDS10-9466-fd0c1556d9b1/IncomingWebhook/6DFGDF88
    6. and so on..
  3. Admin must create a new Generic Agent (GA) with option to execute custom module.

    1. [Mandatory][Name]: Up to you.
    2. [Mandatory][Event Based Execution] : Mandatory. Up to you. Example, TicketQueueUpdate for moving ticket to another queue
    3. [Optional][Select Ticket]: Optional. Up to you.
    4. [Mandatory][Execute Custom Module] : Module => Kernel::System::Ticket::Event::TicketMSTeams
    5. [Mandatory][Param 1 Key] : Subject
    6. [Mandatory][Param 1 Value] : Text subject to be sent to the channel.
    7. [Mandatory][Param 2 Key] : Text1
    8. [Mandatory[Param 2 Value] : Text body to be sent to the channel.
    9. [Optional][Param 3 Key] : Text2
    10. [Optional[Param 3 Value] : Additional text body to be sent to the channel.
    11. #Support OTRS ticket TAG only.
    12. #Support <OTRS_NOTIFICATION_RECIPIENT_UserFullname>, <OTRS_OWNER_UserFullname>, <OTRS_RESPONSIBLE_UserFullname> and <OTRS_CUSTOMER_UserFullname> tag.
    13. #Only support plain text.

da.png