Hi Jay,

thaks for the link, i will look into it, but i must say that i dont know perl that much to be able to change this script i think... but.. it deserve a try :)

Thanks

Best regards

On 21/08/2015 18:53, Jay wrote:
Andrea,

I did something similar to integrate otrs and HipChat (chat client). I found this nice TicketSMSNotification OTRS plug-in at http://opar.perl-services.de/dist/TicketSMSNotification. This served as a guide for what I was trying to accomplish. You can easily replace your curl command with a perl function that uses LWP::UserAgent and HTTP::Request to submit a POST request. This will allow you to easily capture the response and log it to otrs.

Jay

Jay

On Fri, Aug 21, 2015 at 12:58 AM, Andrea Iannucci <andrea.iannu...@firstclarity.com <mailto:andrea.iannu...@firstclarity.com>> wrote:

    Hi everyone,

    i'm quite new to OTRS and i'm trying to add a custom notification
    method on ticket status change (new, followup, close).

    I would like to integrate OTRS with Slack, so i wrote the script
    to post on Slack (using curl command line).

    I was able to create a generic agent and it is working, but he is
    notifing me about all the tickets that match a specific status on
    a crontab manner that i've set in the agent configuration.

    What i would like to acchieve is to have a notification (as it
    correctly working for emails) everytime there is a new ticket, or
    an existing ticket get a reply from the customer and when a ticket
    get closed.

    So, i think that work with the agent is not the right place, i
    feel like i've to create a notification script, but i dont know
    how to acchieve this (and apparently all the information i've
    found online didnt help me that much).

    So, anyone can help me out on this? I just need to hit a bash
    script (so a command line) everytime there is a status change on a
    ticket.

    Thanks in advance

    Best regards

    Andrea Iannucci
    ---------------------------------------------------------------------
    OTRS mailing list: otrs - Webpage: http://otrs.org/
    Archive: http://lists.otrs.org/pipermail/otrs
    To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs




---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to