On Thu, Jun 6, 2013 at 11:06 PM, Landon <[email protected]> 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 <[email protected]> > > > > -- > RT Training in Seattle, June 19-20: http://bestpractical.com/training > -- Best regards, Ruslan.
-- RT Training in Seattle, June 19-20: http://bestpractical.com/training
