Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel
managing global options on a per queue basis
 

Index | Next | Previous | View Flat


jfearn at redhat

May 4, 2009, 9:20 PM


Views: 433
Permalink
managing global options on a per queue basis

Hi, one of the features requested on our installation of RT has been to be
able to manage some global options, like ParseNewMessageForTicketCcs, on a
per-queue basis. Controlling this behaviour had to be done via the GUI,
with the option of enabling or disabling the facility in RT_Site Config.pm.

Another one of the requests was to enable parsing emails to thread replies
to existing tickets when the subject failed to match but the message id
matched an existing ticket. I found
http://rt3.fsck.com/Ticket/Display.html?id=6704 and used the code there as
a basis for this functionality.

I found the basis for the GUI changes on the wiki somewhere, but I can't
find it again, so I haven't be able to give kudos for the original author :(

The DB performance for handling MessageId was not very good, adding an
INDEX made a world of difference.

You have to set PerQueueGlobals to 1 in RT_SiteConfig.pm else the per
queue code is never executed.

InReplyTo has been setup to allow it to be set globally or per queue.

A check box is added to the Queue Admin page for each of the global
options being handled per queue.

I've tested these changes on a stage machine and it all seems to work
well. I'm currently looking in to how to write tests for this to allow
more robust testing.

I'd appreciate any feed back on this code and suggestions on ways it could
be improved.

Cheers, Jeff.

--
Jeff Fearn <jfearn[at]redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Attachments: RH-PerQueue.patch (10.1 KB)

Subject User Time
managing global options on a per queue basis jfearn at redhat May 4, 2009, 9:20 PM
    Re: managing global options on a per queue basis ruslan.zakirov at gmail May 5, 2009, 7:15 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.