Sorry about that. You are correct. I only looked briefly at the code and the version without the '.' is the common format, which I tested. The versions with the '.' also work for me. The docs are correct as written.
Regards, Ken On Tue, Jan 05, 2010 at 10:34:42AM -0500, Kevin Falcone wrote: > On Tue, Jan 05, 2010 at 08:04:21AM -0600, Kenneth Marshall wrote: > > There is a documentation problem on the wiki page in the description > > for Custom field management. It describes the syntax as: > > There are tests (t/03update.t for example) that use the > CustomField.{CFName} syntax, and a canonicalize command that cleans > CustomField.{CFName} into CustomField{CFName} so they should both > work. > > If there is really a bug here, I'd appreciate something in the > rt.cpan.org queue for RT-Extension-CommandByMail, which is the easiest > place to track things. > > This reminds me that the 0.08_01 should become 0.08 this week > > -kevin > > > Custom field values > > Manage custom field values. Could be used multiple times. > > > > CustomField.{CFName}: <custom field value> > > AddCustomField.{CFName}: <custom field value> > > DelCustomField.{CFName}: <custom field value> > > > > Short forms: > > > > CF.{CFName}: <custom field value> > > AddCF.{CFName}: <custom field value> > > DelCF.{CFName}: <custom field value> > > > > But the '.' is used in the perl code and is incorrect for the actual > > use which should be: > > > > Custom field values > > Manage custom field values. Could be used multiple times. > > > > CustomField{CFName}: <custom field value> > > AddCustomField{CFName}: <custom field value> > > DelCustomField{CFName}: <custom field value> > > > > Short forms: > > > > CF{CFName}: <custom field value> > > AddCF{CFName}: <custom field value> > > DelCF{CFName}: <custom field value> > > > > As far as creating your own "commands", you will need to make a > > local version of the TakeAction.pm file that comes with the Extension. > > It looks straightforward enough using the original as a guide. It would > > be nice if the extension supported several different languages by default > > like the RT system itself. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com