How to add a custom field to specify a group

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.

I am using rt-3.4.4

Thanks a lot.

  • Wang

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 :slight_smile:
  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 :slight_smile: 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.