[rt-users] How to add a custom field to specify a group

Ruslan Zakirov ruslan.zakirov at gmail.com
Tue Nov 1 22:53:35 EST 2005


On 11/1/05, lwang <lwang at clusterfs.com> wrote:
> Hi all,
> I want to add a custom field to tickets to specify which group this
> ticket belongs to.
>
> When I add a custom field named "group" to every ticket, it asks me to
> input some possible values for this custom field.  However I just like
> to make it one of my already defined groups.
>
> Any advice is appreciated.
from easy to hard:
1) define CF as "select on value" and fill with group names yourself
2) same as first but fill it with scripT+cron
3) hack RT to support new CustomField type "select user defined
group", send patches to rt-devel :)
4) implement code that would allow you to write scrips for
transactions that happens
on all objects that support transactions(now it's implemented only for
tickets), send patches to rt-devel :) Write scrips that change the CF
values when new groups are created or old are disabled.

>
> I am using rt-3.4.4
>
> Thanks a lot.
>
> - Wang
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from http://rtbook.bestpractical.com
>


--
Best regards, Ruslan.



More information about the rt-users mailing list