[rt-users] Custom Fields query vs. CLI edit syntax inconsistencies
Jesse Vincent
jesse at bestpractical.com
Thu Jun 22 15:04:04 EDT 2006
On Thu, Jun 22, 2006 at 11:52:00AM -0700, Joshua Colson wrote:
> Does anyone know why the syntax of a query on a custom field from the
> command line looks like:
>
> rt ls "Queue='General' AND CF.{SomeDefinedCustomField} is not 'NULL'"
>
> ... but the edit would be something like:
>
> rt edit ticket/1 add CF-SomeDefinedCustomField='Value'
>
> Why don't they both use the same syntax for referencing custom fields?
Mostly because the functionality came from different places at different
times. The query builder version is the preferred format and I'd love a
patch to the CLI to support that version.
Best,
Jesse
> Thanks.
>
> --
> Joshua Colson <jcolson at voidgate.org>
>
> _______________________________________________
> 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
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>
--
More information about the rt-users
mailing list