[rt-users] Can not change Subject for Incidents via scrip

Kevin Falcone falcone at bestpractical.com
Wed Jun 8 17:21:33 EDT 2011


On Wed, Jun 08, 2011 at 03:28:30PM -0400, Xin, Qiao wrote:
> Our incident subject is based on a custom field called 'Agency'. So we
> have a scrip to change the subject line when the custom field value
> changes. However, each time when we edit the custom field, we saw from
> incident ticket history the subject line got changed first based on
> the new value of the custom field. But right after that, the subject
> was changed back to what it was before by the system. For example, if
> the subject of incident is 'Agency1 incident'. When I change the
> Agency field to 'Agency 2'. I saw from the ticket history, subject
> would change first to be 'Agency2 incident'. But then it changed back
> to 'Agency1 incident' again. seems I can not change subject via scrip.

Try making it a TransactionBatch Scrip, it needs to run as late as
possible to avoid changes in the web ui affecting your Subject

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110608/9c4d12c4/attachment.sig>


More information about the rt-users mailing list