[Rt-devel] PATCH: Set/Retrieve custom field value by CLI
Jesse Vincent
jesse at bestpractical.com
Tue Jan 24 05:49:15 EST 2006
[Patch applied for RT 3.5.8. Thanks!]
On Tue, Jan 10, 2006 at 10:53:03AM +0800, lwang wrote:
> The syntax to use this patch:
>
> If you type "rt show ticket/100", it will display the following in my case:
>
> id: ticket/100
> .............
> TimeLeft: 0
> CF-Alias:
> CF-Version: HEAD
> CF-Status_Whiteboard:
> CF-Severity: S3 (normal)
>
> You can see I have 4 custom fields for every ticket. "CF-" is followed
> immediately by the name of the custom field.
>
> Similarly, if you want to create a new ticket, custom field will be
> specified in the same way:
>
> rt create -t ticket set subject="test" add CF-Severity="S3 (normal)"
>
> You can check the created ticket by "rt show ticket/xxx".
>
> Please keep in mind that the name of the custom field cannot contain
> empty space.
>
> Good luck!
>
> - Wang
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
--
More information about the Rt-devel
mailing list