[rt-users] Some RTIR automation?
Ruslan Zakirov
ruz at bestpractical.com
Mon Oct 25 23:50:03 EDT 2010
Hi,
It's totally doable with scrips. RTIR itself has a lot of examples
with bits you need. Basicly you need:
When IR is created with and IP is set or when IP is changed from no
value to a value, link to existing incident or create a new one. First
part is a condition and second part is an action.
For example lib/RT/Condition/RTIR_BlockActivation.pm is quite close.
Checks whether ticket is created with active state or state is changed
to active.
Action is not that straightforward, but try it and if you have
problems return back to us with detailed questions.
On Fri, Oct 22, 2010 at 9:19 PM, Landon Stewart <lstewart at superb.net> wrote:
> Many times a day I will login to RT+RTIR and consolidate Incident Reports
> into Incidents using the IP address field in RTIR. Is there any way to
> automate the consolidation process of Incident Reports into Incidents where
> there's an IP address? I would imagine it's possible but I'm not sure what
> to try even.
>
> For those who may not have seen it - RTIR is an addon for RT. It creates
> three queues called Incident Reports, Incidents and Investigations.
> Incident Reports can be merged or multiple Incident Reports can be linked to
> a single Incident. An Incident can be used to create a new ticket called an
> Investigation. In our case we use this to consolidate abuse issues reported
> by outside parties by linking individual Incident Reports into Incidents and
> then opening an investigation with our customer. After our customer replies
> to the Investigation and we can then respond to all the Incident Reports
> separately and all at once when the Incident is resolved.
>
> I had thought, maybe using code in a template, to script the creation of an
> Incident if no other open Incident exists with the IP address(es) from the
> Incident Reports. If an Incident exists with that IP address and it's open
> it links the new incident report with that incident. Can a script inside a
> template create an Incident?
>
> Then at regular times I can simply list the incidents and open
> investigations where needed and look for incident reports with no IP address
> in them (rare).
>
> Does anyone have any ideas on how to go about this?
>
> Thanks to anyone who has any ideas on where to start here.
>
> --
> Landon Stewart <LStewart at SUPERB.NET>
> SuperbHosting.Net by Superb Internet Corp.
> Toll Free (US/Canada): 888-354-6128 x 4199
> Direct: 206-438-5879
> Web hosting and more "Ahead of the Rest": http://www.superbhosting.net
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list