PATCH: Display custom fields for ticket

The attachment is my patch for CLI to display custom fields for ticket.
I am new to RT devel and I really appreciate your suggestion and
correction on my patch.

Custom fields are displayed at the bottom and the names are prepended by
"CF.".

I will continue to produce a patch for CLI to set the values of custom
fields on creation of tickets. Any suggestion?

Thanks.

  • Wang

custom-field.diff (785 Bytes)

The attachment is my patch for CLI to display custom fields for ticket.
I am new to RT devel and I really appreciate your suggestion and
correction on my patch.

Custom fields are displayed at the bottom and the names are prepended by
"CF.".

This looks basically right. What happens when you turn around and "edit"
a ticket with these fields in it? (IE, do the new fields break the
existing edit ui?)

Jesse Vincent wrote:

The attachment is my patch for CLI to display custom fields for ticket.
I am new to RT devel and I really appreciate your suggestion and
correction on my patch.

Custom fields are displayed at the bottom and the names are prepended by
"CF.".

This looks basically right. What happens when you turn around and "edit"
a ticket with these fields in it? (IE, do the new fields break the
existing edit ui?)

This patch just displays the values of all custom fields of tickets when
rt CLI is invoked. I don’t change any other part, so the new fields
don’t break the existing edit ui.

Thank you.