[rt-users] For RTIR are scrips ran before plugins? (namely lib/RT/Action/RTIR_FindIP.pm)

Ruslan Zakirov ruz at bestpractical.com
Thu Jun 6 16:09:30 EDT 2013


On Thu, Jun 6, 2013 at 11:06 PM, Landon <landonstewart at gmail.com> wrote:

> Hello,
>
> As many of you know RTIR has three levels of tickets each with their own
> queue.  Reports come into "Incident Reports", incidents are created in
> "Incidents" and investigations are created in "Investigations".  I'm
> attempting to write a scrip that looks at the IP field of a ticket created
> in "Incident Reports" and searches for tickets in "Incidents".  If it finds
> one (or more) it'll create a HasMember link.  If it doesn't I might make it
> create an Incident with the text from the Incident Report.
>
> My question is when the scrips run the IP field appears to be empty at the
> time it runs.  Is this normal?  What order do things happen in RT and RTIR
> plugins?  Can I tweak this order to ensure that the IP Custom Field is
> populated via lib/RT/Action/RTIR_FindIP.pm before a scrip runs?  Is the
> only way to append the scrip to the end of RTIR_FindIP.pm?
>

In RT 3.8 and 4.0 scrips are executed in order of description. You can add
digital prefix to description to adjust order.



> Thank you.
>
> --
> Landon Stewart <LandonStewart at Gmail.com>
>
>
>
> --
> RT Training in Seattle, June 19-20: http://bestpractical.com/training
>



-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130607/115f8b7f/attachment.htm>


More information about the rt-users mailing list