[rt-users] Custom Field updates Status Field?
Eli Altman
eli at gmnameplate.com
Fri Oct 24 11:55:27 EDT 2008
Mark, with some custom modding I suppose it would be possible to have the Status display differently depending on a user or ticket customfield. You would also need a custom field for the ticket or user to hold the department. In my installation, we use an LDAP for all of our users, so this information is pulled automatically and placed in a CF called 'Department' for the ticket.
You would need to add one additional Active status in your RT_SiteConfig called 'working'
Set(@ActiveStatus, qw(new open working stalled));
You would then have to mod your share/html/Elements/SelectStatus to check what the department is in the customfield and display either the actual status names in the drop-down or your replacements. I imagine you'd also need to mod /share/html/Ticket/Elements/ShowBasics so it displays the alternate labels correctly in the ticket. You'll need some perl experience to do this cleanly. Unless you like this sort of challenge, you'd be better off telling Bob in the Art Department to just imagine he's seeing Accepted Task, WIP, Completed instead of New, Open, Working and Resolved. Worst case, just add the additional Active Status into your SiteConfig and restart apache to see the change.
Elias
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Mark Grob
Sent: Friday, October 24, 2008 6:42 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Custom Field updates Status Field?
Any recommendations on a good start for using Custom field values to
update the status field?
Example:
Bob in Art Department wants the GUI to have (Accepted Task, WIP,
Project Completed) however, licensing want the statuses to remain the
same.
So I need the ability to change the status filed based on a simple
combo box with the other values. I am sure it is a scrip solution but
I would like to know how to link the two.
-Mark
_______________________________________________
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