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

Mailing List Archive: Request Tracker: Users

OnCorrespondNotify Owner and AdminCCs

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


kailas at kiinde

Jul 13, 2012, 10:24 AM

Post #1 of 3 (351 views)
Permalink
OnCorrespondNotify Owner and AdminCCs

We're using RT and have a situation where, on correspondence, we need to notify both Owners and AdminCCs. If someone is on both lists, then we would want them to be only notified once.

I found an example at http://requesttracker.wikia.com/wiki/ScripAction, but it sounded (from conversations on IRC) that it should be possible to do this w/out mucking with the database schema (as well as not assuming that the sql in the example would work in the latest RT version).

I'm new to customizing RT and am not sure where to start. has anyone run into this situation before and help me with how to accomplish this?

thanks!

-k


ruz at bestpractical

Jul 17, 2012, 10:29 AM

Post #2 of 3 (293 views)
Permalink
Re: OnCorrespondNotify Owner and AdminCCs [In reply to]

On Fri, Jul 13, 2012 at 8:24 PM, Kailas Narendran <kailas [at] kiinde> wrote:
> We're using RT and have a situation where, on correspondence, we need to
> notify both Owners and AdminCCs. If someone is on both lists, then we would
> want them to be only notified once.
>
> I found an example at http://requesttracker.wikia.com/wiki/ScripAction, but
> it sounded (from conversations on IRC) that it should be possible to do this
> w/out mucking with the database schema (as well as not assuming that the sql
> in the example would work in the latest RT version).
>
> I'm new to customizing RT and am not sure where to start. has anyone run
> into this situation before and help me with how to accomplish this?

Start from setting up clone of production to play with without being
afraid to break
things.

Take a look at http://requesttracker.wikia.com/wiki/InitialData, it's
better approach
to insert a scrip action.


> thanks!
>
> -k



--
Best regards, Ruslan.


falcone at bestpractical

Jul 20, 2012, 8:04 AM

Post #3 of 3 (273 views)
Permalink
Re: OnCorrespondNotify Owner and AdminCCs [In reply to]

On Tue, Jul 17, 2012 at 08:29:42PM +0300, Ruslan Zakirov wrote:
> On Fri, Jul 13, 2012 at 8:24 PM, Kailas Narendran <kailas [at] kiinde> wrote:
> > We're using RT and have a situation where, on correspondence, we need to
> > notify both Owners and AdminCCs. If someone is on both lists, then we would
> > want them to be only notified once.
> >
> > I found an example at http://requesttracker.wikia.com/wiki/ScripAction, but
> > it sounded (from conversations on IRC) that it should be possible to do this
> > w/out mucking with the database schema (as well as not assuming that the sql
> > in the example would work in the latest RT version).
> >
> > I'm new to customizing RT and am not sure where to start. has anyone run
> > into this situation before and help me with how to accomplish this?
>
> Start from setting up clone of production to play with without being
> afraid to break
> things.
>
> Take a look at http://requesttracker.wikia.com/wiki/InitialData, it's
> better approach
> to insert a scrip action.

To expand on Ruslan's answer, this is a matter of stealing from the
core initialdata's @ScripActions list and creating your own small
myscripactions file with one entry in it. You'll want to fix the
Name, Description and Argument (the Argument is AdminCc,Owner not just
Owner or AdminCc). Running this with rt-setup-database --action
insert --datafile myscripactions will get you a new Scrip Action in
the UI called "Notify Owners and AdminCcs".

I believe this to be a generally useful scrip action to have, so I
suspect I'll add it to my 4.2/new-scripactions branch where I've been
collecting some things I write a lot.

-kevin

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.