[rt-users] CustomField clearing via REST request CF.{FieldName}:

Edward Frye rt at edwardfrye.com
Mon Jun 27 16:11:54 EDT 2011


In my script, the CF name was wrong, I was able to achieve what I need by
simply overwriting the values with the correct ones.

On Fri, Jun 24, 2011 at 5:55 PM, Edward Frye <rt at edwardfrye.com> wrote:

> I am writing some scripts to update tickets and Custom Fields with data,
> but I would like to clear those fields prior to updating them
> if I issue a POST command with something like
> *
> *
>
> content=id: ticket/4327
> CF.{AffectedUser}: NewUserID
> CF.{AffectedManager}: NewManagerID
>
> It works great, however, if I already have information in the
> CF.{AffectedUser} field of that ticket, say for example, I had the user and
> manager in the same field, it won't remove the manager.
>
> I have attempted to search for this in the email archives and came up blank
> or unanswered questions so far.
>
> I have over 2000 tickets where I need to separate User from Manager and
> they are currently both in the same CF
>
> Thanks,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110627/01bbf927/attachment.htm>


More information about the rt-users mailing list