[rt-users] newbie script / Action question
karres at illinois.edu
Fri Dec 5 13:06:31 EST 2014
Please feel free to point me at the correct docs here. I think I am about to get a handle on some RT related thing and then it turns to smoke in my fingers :)
Part of this is a "Best Practices" question. We are testing RT at the moment so playing around is fine with the goal of a solid system at the far end.
In our case I envision the following: a "tree" of Queues "rooted" at the primary "Helpdesk" queue. All initial Customer interactions should come into the primary Helpdesk Queue. Then a combination of human interaction and auto-filters should sort the inbound queue items into other "Word Queues".
The "auto-filter" bit is where I am having some issues. I have seen the doc at: http://requesttracker.wikia.com/wiki/WriteCustomAction on Custom Actions. I have used the GUI interface to create two Scripts that look at the main Queue and change the Queue for inbound tickets that have keywords in the Subject. For example our Helpdesk sends special printing requests to a printing department and a sub-set of the Helpdesk staff can handle a limited number of trivial Personnel "status" issues.
The Best-Practice question is: is this the best way to deal with these sorts of tickets and Queues? I just want to move tickets that pattern-match X into special-queue-X. There will be several other queues and the Helpdesk staff will sort inbound tickets into them as necessary.
The tech question part has two parts:
1) I used the GUI to create the filters as I mentioned above. I saw no errors in the creation and they worked for a couple of hours then started failing for no obvious reason. During this same time I was changing some MySQL innodb config options. But then this morning the filter scripts magically started working again. I don't understand why they stopped or restarted. I am not seeing (or am not looking in the right place) other debug info that might clue me in.
2) In the link above it talks about writing a module to perform the action of the script(s). It talks about registering the modules. The question here is really, while looking through /opt/rt4/lib/.../Actions I see a ChangeQueue module/action. While creating the scripts through the GUI the list of drop-down Actions did not include "Change Queue". That's really what I want to do here. Should that exist in the Action list? How do I enable it if it should?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rt-users