[rt-users] Custom commands by Email

Kevin Falcone falcone at bestpractical.com
Tue Jan 5 11:50:27 EST 2010


On Tue, Jan 05, 2010 at 10:25:09AM -0600, Kenneth Marshall wrote:
> 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.

Thanks for the confirmation Ken, I was worried that our tests were
insufficient in some way.

-kevin

> 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: sales at 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: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100105/61530f3a/attachment.sig>


More information about the rt-users mailing list