View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Mark Ibell > RT-Action-UpdateIcestack-0.01 > RT::Action::UpdateIcestack



Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  


RT::Action::UpdateIcestack - Send ticket updates to Icestack


This RT ScripAction is invoked when a ticket is updated and sends the update through to Icestack.


Can be installed using the following commands:

    perl Makefile.PL
    make install
    make initdb


Enable Plugin

Update with a line similar to the below:


Create Scrip

This Scrip will invoke the ScripAction installed above whenever a ticket is updated.

    Log onto RT web interface as root
    Click Tools->Configuration->Global->Scrips->Create
    Enter in Scrip Fields as follows:
        Description: Send update to Icestack
        Condition: On Transaction
        Action: Update Icestack
        Template: Global template: Transaction
        Stage: TransactionCreate
    Click Create

Add custom fields to Users table

These fields are used to associate an RT User with a particular Icestack instance.

    Log onto RT web interface as root
    Click Tools->Configuration->Custom Fields->Create
        Name: IcestackCode
        Description: Key code issued from Icestack
        Type: Enter one value
        Applies to: Users
    Click Tools->Configuration->Custom Fields->Create
        Name: IcestackHostURL
        Description: Host URL used to push updates back into Icestack
        Type: Enter one value
        Applies to: Users
    Click Create

Configure Icestack Integration

Icestack communicates with RT via an RT User. It is necessary to populate the IcestackCode and IcestackHostURL fields for this User so that the update mechanism will function.

This User should have access to one or more queues. These will be visible to the Icestack system.

The instructions given below are for creation of new User and Queue(s). It is also possible to modify an existing User.

Create User

As alluded to above this User will be associated with a particular Icestack instance via the custom fields.

    Log onto RT web interface as root
    Click Tools->Configuration->Users->Create
        Username: <user name>
        Let this user access RT: CHECK
        Let this user be granted rights (Privileged): CHECK
        IcestackHostURL: <url>
        IcestackCode: <code>
    Click Create

Create Queue and assign rights for User

Create one or more Queues to be associated with the User and Icestack instance.

    Log onto RT web interface as root
    Click Tools->Configuration->Queues->Create
        Queue Name: <queue name>
        Description: Queue for <user name>
        Lifecycle: default
    Click Create
    Click Tools->Configuration->Queues->Select
    Click <queue name>
    Click User Rights
    Add rights for this user: <user name>
        Create tickets: CHECK
        View queue: CHECK
        View ticket summaries: CHECK
        Modify tickets: CHECK
        (others may be necessary, depending...)
    Click Save Changes


To assist with testing the integration the XML exchange with Icestack is logged to /tmp/ui_debug.log.


Mark Ibell <>


Copyright (c) 2013 Experieco Ltd. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

syntax highlighting: