[rt-devel] new CF action for scrips?

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Dec 6 16:46:53 EST 2016


BP,

I noticed a new branch come across:

4.4/set-custom-field-to-now-scrip-action

I wrote a generic CF scrip action that is attached.

You can use a JSON string to modify CFs:

An argument to the action could look like:

{ 'name': 'Billed At', 'operation': 'set', 'value': 'now' }

or

{ 'name': 'Problems', 'operation': 'delete-all' }

There verbs (or operations) are: add, set, delete, delete-all.

What do you think about including it in core?

Thanks,

-m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModifyCustomField.pm
Type: application/x-perl
Size: 6032 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20161206/46607fbb/attachment.bin>


More information about the rt-devel mailing list