[rt-users] Re: Custom field problem

Sean stroke_of_death at yahoo.com
Tue Jul 24 12:42:10 EDT 2007


Hi Forrest,

I havn't really made any customizations surrounding the custom field area. I have added
RTx::Statistics, and RTx::AssetTracker, the calender extension, and thats it as far
as customizations above and beyond the normal RT.

For the "Ticket" vs "Ticket Transaction" type, I am referring to:
I click "configuration" then "Custom Fields" then click on the custom field I have created
I see "Name", Description", "Type", "Applies to", "validation", a checkbox for enabled,  "link values to" and "Include page"
The "Ticket" vs "ticket transaction" types are under "Applies to", under "Applies to" you can
choose Tickets, Groups, Users, Assets, Ticket Transactions

If you choose ticket, when you look at a ticket, you can see the custom value there. If I choose ticket transactions, you don't see the custom field in the main ticket page, but if I were to click "Resolve", it shows up there. It also shows up under "basics"

I have tried with "Select one value" as there are a limited list of 7 different values I need the user to choose from, and Enter one value would be freeform, and the reg-ex involved in the validation would be extrodinarily complicated and wouldn't be very easy to change, so I need to stick with the "select one value" type. 

It defaults to (no value) - right now the Validation field says:
(?#Mandatory)(^[A-Z]) - I have tried adding various things after the "(?#Mandatory)"
so perhaps my validation string is wrong?
The values to select between are all one letter words beginnning with captial letters.


----- Original Message ----
From: Forrest Blount <forrestarthur at gmail.com>
To: Sean <stroke_of_death at yahoo.com>
Cc: Andreas Vögele <avo at trustsec.de>; rt-users at lists.fsck.com
Sent: Tuesday, July 24, 2007 9:54:12 AM
Subject: Re: [rt-users] Re: Custom field problem

Validation works fine in our system, as do the Mandatory fields... I think we need more information regarding how your system is customized...  For instance, what do you mean you've tried this on custom fields of "Ticket" and "Ticket Transaction" types.  These types aren't available in our 3.6.4 version, so I'm guessing they've been added/modified which might be breaking the validation/mandatory functions.

Have you tried either with a basic "Enter one value" or "Select one value" type custom field? 

Forrest


On 7/24/07, Sean <stroke_of_death at yahoo.com> wrote:
So there is no way to make having a value in a custom field mandatory?
I was hoping that the "validation" step would take care of this, but I guess that doesn't
kick in until you manually enter something then it validates against what you have selected or entered. 



----- Original Message ----
From: Andreas Vögele <avo at trustsec.de>
To: rt-users at lists.fsck.com
Sent: Tuesday, July 24, 2007 2:16:12 AM 
Subject: [rt-users] Re: Custom field problem


Sean writes:

> All,
>
> Not sure if this is two seperate questions or not.
>
> I am running RT 3.6.4.
>
> I am trying to create a custom field that I want to be 
> mandatory. Basically, Im not concerned if it's there when the ticket
> is created, but when my RT admins close the ticket (always through
> the GUI, not through email or anything) I want to make sure they 
> have selected one of the values.  [...]

You can write a scrip that reopens the ticket unless the custom field
is set.  This solution isn't nice but easy to set up.

_______________________________________________ 
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



____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
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


       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070724/4c6876ed/attachment.htm>


More information about the rt-users mailing list