[rt-users] Scrips and Custom fields values

Kevin Falcone falcone at bestpractical.com
Mon Apr 23 12:45:20 EDT 2007


On Apr 23, 2007, at 11:19 AM, Silvana.Giberti at esa.int wrote:
> I have 2 custom fields created at ticket creation time, and 2  
> others to be updated whenever one of the other two change value.  
> This is done by several scrips, 2 running at ticket creation and  
> the others running when one of the 2 initial custom field is updated.
>
> Comparing the 2 cases in RT log file, it looks like there's an  
> extra transaction firing after the update of the wrong custom  
> field, but I can't tell what it does.

Hi Silvana

You might want to make a local overlay of Scrips where you change
lib/RT/Scrips_Overlay.pm's _FindScrips method to dump out which scrips
were found, rather than just a count of the applicable scrips.  Once  
you have
the id, tracking down which scrip is misbehaving would be a lot easier.

-kevin

> All custom fields are defined global for tickets in all queues.
>
> Does anyone have an idea of what to do to fix this problem?
>
> Thanks,
> Silvana
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com




More information about the rt-users mailing list